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
sourceimpl Clone for AmbientTemperatureCallbackConfiguration
impl Clone for AmbientTemperatureCallbackConfiguration
sourcefn clone(&self) -> AmbientTemperatureCallbackConfiguration
fn clone(&self) -> AmbientTemperatureCallbackConfiguration
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 AmbientTemperatureCallbackConfiguration
impl Default for AmbientTemperatureCallbackConfiguration
sourcefn default() -> AmbientTemperatureCallbackConfiguration
fn default() -> AmbientTemperatureCallbackConfiguration
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for AmbientTemperatureCallbackConfiguration
impl FromByteSlice for AmbientTemperatureCallbackConfiguration
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]) -> AmbientTemperatureCallbackConfiguration
fn from_le_bytes(bytes: &[u8]) -> AmbientTemperatureCallbackConfiguration
Deserialize the implementing type from a byte slice.
sourceimpl PartialEq<AmbientTemperatureCallbackConfiguration> for AmbientTemperatureCallbackConfiguration
impl PartialEq<AmbientTemperatureCallbackConfiguration> for AmbientTemperatureCallbackConfiguration
sourcefn eq(&self, other: &AmbientTemperatureCallbackConfiguration) -> bool
fn eq(&self, other: &AmbientTemperatureCallbackConfiguration) -> bool
impl Copy for AmbientTemperatureCallbackConfiguration
impl Eq for AmbientTemperatureCallbackConfiguration
impl StructuralEq for AmbientTemperatureCallbackConfiguration
impl StructuralPartialEq for AmbientTemperatureCallbackConfiguration
Auto Trait Implementations
impl RefUnwindSafe for AmbientTemperatureCallbackConfiguration
impl Send for AmbientTemperatureCallbackConfiguration
impl Sync for AmbientTemperatureCallbackConfiguration
impl Unpin for AmbientTemperatureCallbackConfiguration
impl UnwindSafe for AmbientTemperatureCallbackConfiguration
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