Struct fritzapi::devices::SimpleOnOff
source · pub struct SimpleOnOff {
pub state: bool,
}
Fields§
§state: bool
Trait Implementations§
source§impl Debug for SimpleOnOff
impl Debug for SimpleOnOff
source§impl<'de> Deserialize<'de> for SimpleOnOff
impl<'de> Deserialize<'de> for SimpleOnOff
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 SimpleOnOff
impl PartialEq for SimpleOnOff
source§fn eq(&self, other: &SimpleOnOff) -> bool
fn eq(&self, other: &SimpleOnOff) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimpleOnOff
impl Serialize for SimpleOnOff
impl StructuralPartialEq for SimpleOnOff
Auto Trait Implementations§
impl RefUnwindSafe for SimpleOnOff
impl Send for SimpleOnOff
impl Sync for SimpleOnOff
impl Unpin for SimpleOnOff
impl UnwindSafe for SimpleOnOff
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