pub struct Hw {
pub led: Option<Led>,
pub com: Option<Vec<ColorOrderMap>>,
pub btn: Option<Btn>,
pub ir: Option<Ir>,
pub relay: Option<Relay>,
pub baud: Option<u16>,
pub if_field: Option<If>,
}
Expand description
Hardware info
Fields§
§led: Option<Led>
Led info
com: Option<Vec<ColorOrderMap>>
List of color order maps
btn: Option<Btn>
Info about connected buttons
ir: Option<Ir>
info about IR receiver
relay: Option<Relay>
info about relay
baud: Option<u16>
baud rate/100
if_field: Option<If>
interface info
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Hw
impl<'de> Deserialize<'de> for Hw
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 StructuralPartialEq for Hw
Auto Trait Implementations§
impl Freeze for Hw
impl RefUnwindSafe for Hw
impl Send for Hw
impl Sync for Hw
impl Unpin for Hw
impl UnwindSafe for Hw
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