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