Struct wled_json_api_library::structures::cfg::cfg_hw::Relay    
source · pub struct Relay {
    pub pin: Option<i8>,
    pub rev: Option<bool>,
}Fields§
§pin: Option<i8>pin for the relay
rev: Option<bool>negate output
Trait Implementations§
source§impl<'de> Deserialize<'de> for Relay
 
impl<'de> Deserialize<'de> for Relay
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 Relay
 
impl PartialEq for Relay
impl StructuralPartialEq for Relay
Auto Trait Implementations§
impl RefUnwindSafe for Relay
impl Send for Relay
impl Sync for Relay
impl Unpin for Relay
impl UnwindSafe for Relay
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