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