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