Struct tinkerforge::dc_brick::Protocol1BrickletName
source · pub struct Protocol1BrickletName {
pub protocol_version: u8,
pub firmware_version: [u8; 3],
pub name: String,
}
Fields§
§protocol_version: u8
§firmware_version: [u8; 3]
§name: String
Trait Implementations§
source§impl Clone for Protocol1BrickletName
impl Clone for Protocol1BrickletName
source§fn clone(&self) -> Protocol1BrickletName
fn clone(&self) -> Protocol1BrickletName
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 FromByteSlice for Protocol1BrickletName
impl FromByteSlice for Protocol1BrickletName
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]) -> Protocol1BrickletName
fn from_le_byte_slice(bytes: &[u8]) -> Protocol1BrickletName
Deserialize the implementing type from a byte slice.
Auto Trait Implementations§
impl RefUnwindSafe for Protocol1BrickletName
impl Send for Protocol1BrickletName
impl Sync for Protocol1BrickletName
impl Unpin for Protocol1BrickletName
impl UnwindSafe for Protocol1BrickletName
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