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