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