pub struct CloseSwitch {
pub switch: bool,
}Fields§
§switch: boolTrait Implementations§
Source§impl Debug for CloseSwitch
impl Debug for CloseSwitch
Source§impl<'de> Deserialize<'de> for CloseSwitch
impl<'de> Deserialize<'de> for CloseSwitch
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
Source§impl PartialEq for CloseSwitch
impl PartialEq for CloseSwitch
Source§fn eq(&self, other: &CloseSwitch) -> bool
fn eq(&self, other: &CloseSwitch) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CloseSwitch
impl Serialize for CloseSwitch
impl Eq for CloseSwitch
impl StructuralPartialEq for CloseSwitch
Auto Trait Implementations§
impl Freeze for CloseSwitch
impl RefUnwindSafe for CloseSwitch
impl Send for CloseSwitch
impl Sync for CloseSwitch
impl Unpin for CloseSwitch
impl UnsafeUnpin for CloseSwitch
impl UnwindSafe for CloseSwitch
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