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