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