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