pub struct ControlModeResponse {
pub mode: ControlMode,
}Expand description
Detached upgrade response acknowledging entry into control mode.
Fields§
§mode: ControlModeThe accepted control-mode flavor.
Trait Implementations§
Source§impl Clone for ControlModeResponse
impl Clone for ControlModeResponse
Source§fn clone(&self) -> ControlModeResponse
fn clone(&self) -> ControlModeResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ControlModeResponse
Source§impl Debug for ControlModeResponse
impl Debug for ControlModeResponse
Source§impl<'de> Deserialize<'de> for ControlModeResponse
impl<'de> Deserialize<'de> for ControlModeResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ControlModeResponse
Source§impl PartialEq for ControlModeResponse
impl PartialEq for ControlModeResponse
Source§fn eq(&self, other: &ControlModeResponse) -> bool
fn eq(&self, other: &ControlModeResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ControlModeResponse
impl Serialize for ControlModeResponse
impl StructuralPartialEq for ControlModeResponse
Auto Trait Implementations§
impl Freeze for ControlModeResponse
impl RefUnwindSafe for ControlModeResponse
impl Send for ControlModeResponse
impl Sync for ControlModeResponse
impl Unpin for ControlModeResponse
impl UnsafeUnpin for ControlModeResponse
impl UnwindSafe for ControlModeResponse
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