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