pub struct ModifyRelayRequest {
pub version: Option<u32>,
pub monitor_page: Update<MonitorPageGpas>,
pub use_interrupt_page: Option<bool>,
}
Expand description
A request from the server to the relay to modify connection state.
The version and use_interrupt_page fields can only be present if this request was sent for an InitiateContact message from the guest.
If version
is Some
, the relay must respond with either ModifyRelayResponse::Supported
or
ModifyRelayResponse::Unsupported
. If version
is None
, the relay must respond with
ModifyRelayResponse::Modified
.
Fields§
§version: Option<u32>
§monitor_page: Update<MonitorPageGpas>
§use_interrupt_page: Option<bool>
Trait Implementations§
Source§impl Clone for ModifyRelayRequest
impl Clone for ModifyRelayRequest
Source§fn clone(&self) -> ModifyRelayRequest
fn clone(&self) -> ModifyRelayRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ModifyRelayRequest
impl Debug for ModifyRelayRequest
Source§impl From<ModifyConnectionRequest> for ModifyRelayRequest
impl From<ModifyConnectionRequest> for ModifyRelayRequest
Source§fn from(value: ModifyConnectionRequest) -> Self
fn from(value: ModifyConnectionRequest) -> Self
Converts to this type from the input type.
impl Copy for ModifyRelayRequest
Auto Trait Implementations§
impl Freeze for ModifyRelayRequest
impl RefUnwindSafe for ModifyRelayRequest
impl Send for ModifyRelayRequest
impl Sync for ModifyRelayRequest
impl Unpin for ModifyRelayRequest
impl UnwindSafe for ModifyRelayRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more