pub struct Co2ConcentrationCallbackThreshold {
pub option: char,
pub min: u16,
pub max: u16,
}
Fields§
§option: char
§min: u16
§max: u16
Trait Implementations§
source§impl Clone for Co2ConcentrationCallbackThreshold
impl Clone for Co2ConcentrationCallbackThreshold
source§fn clone(&self) -> Co2ConcentrationCallbackThreshold
fn clone(&self) -> Co2ConcentrationCallbackThreshold
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 Default for Co2ConcentrationCallbackThreshold
impl Default for Co2ConcentrationCallbackThreshold
source§fn default() -> Co2ConcentrationCallbackThreshold
fn default() -> Co2ConcentrationCallbackThreshold
Returns the “default value” for a type. Read more
source§impl FromByteSlice for Co2ConcentrationCallbackThreshold
impl FromByteSlice for Co2ConcentrationCallbackThreshold
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]) -> Co2ConcentrationCallbackThreshold
fn from_le_byte_slice(bytes: &[u8]) -> Co2ConcentrationCallbackThreshold
Deserialize the implementing type from a byte slice.
source§impl PartialEq for Co2ConcentrationCallbackThreshold
impl PartialEq for Co2ConcentrationCallbackThreshold
source§fn eq(&self, other: &Co2ConcentrationCallbackThreshold) -> bool
fn eq(&self, other: &Co2ConcentrationCallbackThreshold) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Co2ConcentrationCallbackThreshold
impl Eq for Co2ConcentrationCallbackThreshold
impl StructuralPartialEq for Co2ConcentrationCallbackThreshold
Auto Trait Implementations§
impl RefUnwindSafe for Co2ConcentrationCallbackThreshold
impl Send for Co2ConcentrationCallbackThreshold
impl Sync for Co2ConcentrationCallbackThreshold
impl Unpin for Co2ConcentrationCallbackThreshold
impl UnwindSafe for Co2ConcentrationCallbackThreshold
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