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