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