pub struct TemperatureCallbackConfiguration {
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
sourceimpl Clone for TemperatureCallbackConfiguration
impl Clone for TemperatureCallbackConfiguration
sourcefn clone(&self) -> TemperatureCallbackConfiguration
fn clone(&self) -> TemperatureCallbackConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for TemperatureCallbackConfiguration
impl Default for TemperatureCallbackConfiguration
sourcefn default() -> TemperatureCallbackConfiguration
fn default() -> TemperatureCallbackConfiguration
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for TemperatureCallbackConfiguration
impl FromByteSlice for TemperatureCallbackConfiguration
sourcefn 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.
sourcefn from_le_bytes(bytes: &[u8]) -> TemperatureCallbackConfiguration
fn from_le_bytes(bytes: &[u8]) -> TemperatureCallbackConfiguration
Deserialize the implementing type from a byte slice.
sourceimpl PartialEq<TemperatureCallbackConfiguration> for TemperatureCallbackConfiguration
impl PartialEq<TemperatureCallbackConfiguration> for TemperatureCallbackConfiguration
sourcefn eq(&self, other: &TemperatureCallbackConfiguration) -> bool
fn eq(&self, other: &TemperatureCallbackConfiguration) -> bool
impl Copy for TemperatureCallbackConfiguration
impl Eq for TemperatureCallbackConfiguration
impl StructuralEq for TemperatureCallbackConfiguration
impl StructuralPartialEq for TemperatureCallbackConfiguration
Auto Trait Implementations
impl RefUnwindSafe for TemperatureCallbackConfiguration
impl Send for TemperatureCallbackConfiguration
impl Sync for TemperatureCallbackConfiguration
impl Unpin for TemperatureCallbackConfiguration
impl UnwindSafe for TemperatureCallbackConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more