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