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