pub struct LightState {
pub on_off: i32,
}Fields§
§on_off: i32Trait Implementations§
Source§impl Clone for LightState
impl Clone for LightState
Source§impl Debug for LightState
impl Debug for LightState
Source§impl<'de> Deserialize<'de> for LightState
impl<'de> Deserialize<'de> for LightState
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
Auto Trait Implementations§
impl Freeze for LightState
impl RefUnwindSafe for LightState
impl Send for LightState
impl Sync for LightState
impl Unpin for LightState
impl UnsafeUnpin for LightState
impl UnwindSafe for LightState
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