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