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