pub struct HumidityCallbackThreshold {
pub option: char,
pub min: u16,
pub max: u16,
}
Fields§
§option: char
§min: u16
§max: u16
Trait Implementations§
source§impl Clone for HumidityCallbackThreshold
impl Clone for HumidityCallbackThreshold
source§fn clone(&self) -> HumidityCallbackThreshold
fn clone(&self) -> HumidityCallbackThreshold
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HumidityCallbackThreshold
impl Debug for HumidityCallbackThreshold
source§impl Default for HumidityCallbackThreshold
impl Default for HumidityCallbackThreshold
source§fn default() -> HumidityCallbackThreshold
fn default() -> HumidityCallbackThreshold
Returns the “default value” for a type. Read more
source§impl FromByteSlice for HumidityCallbackThreshold
impl FromByteSlice for HumidityCallbackThreshold
source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
source§fn from_le_byte_slice(bytes: &[u8]) -> HumidityCallbackThreshold
fn from_le_byte_slice(bytes: &[u8]) -> HumidityCallbackThreshold
Deserialize the implementing type from a byte slice.
source§impl Hash for HumidityCallbackThreshold
impl Hash for HumidityCallbackThreshold
source§impl PartialEq for HumidityCallbackThreshold
impl PartialEq for HumidityCallbackThreshold
source§fn eq(&self, other: &HumidityCallbackThreshold) -> bool
fn eq(&self, other: &HumidityCallbackThreshold) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HumidityCallbackThreshold
impl Eq for HumidityCallbackThreshold
impl StructuralPartialEq for HumidityCallbackThreshold
Auto Trait Implementations§
impl RefUnwindSafe for HumidityCallbackThreshold
impl Send for HumidityCallbackThreshold
impl Sync for HumidityCallbackThreshold
impl Unpin for HumidityCallbackThreshold
impl UnwindSafe for HumidityCallbackThreshold
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