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