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