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