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