Struct wled_json_api_library::structures::cfg::cfg_hw::Btn
source · pub struct Btn {
pub max: Option<u8>,
pub pull: Option<bool>,
pub ins: Option<Vec<In3>>,
pub tt: Option<u8>,
pub mqtt: Option<bool>,
}Fields§
§max: Option<u8>just information about max number of buttons (not actually used)
pull: Option<bool>idfk
ins: Option<Vec<In3>>balls, testicles
tt: Option<u8>Touch threshold
mqtt: Option<bool>button Publish Mqtt
Trait Implementations§
source§impl<'de> Deserialize<'de> for Btn
impl<'de> Deserialize<'de> for Btn
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 Btn
Auto Trait Implementations§
impl RefUnwindSafe for Btn
impl Send for Btn
impl Sync for Btn
impl Unpin for Btn
impl UnwindSafe for Btn
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