Struct tinkerforge::stepper_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
sourceimpl Clone for Protocol1BrickletName
impl Clone for Protocol1BrickletName
sourcefn clone(&self) -> Protocol1BrickletName
fn clone(&self) -> Protocol1BrickletName
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl FromByteSlice for Protocol1BrickletName
impl FromByteSlice for Protocol1BrickletName
sourcefn 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.
sourcefn from_le_bytes(bytes: &[u8]) -> Protocol1BrickletName
fn from_le_bytes(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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more