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