pub struct ManufacturerId {
pub manufacturer_code: ManufacturerCode,
pub identification_number: IdentificationNumber,
pub device_type: DeviceType,
pub version: u8,
pub is_unique_globally: bool,
}Fields§
§manufacturer_code: ManufacturerCode§identification_number: IdentificationNumber§device_type: DeviceType§version: u8§is_unique_globally: boolTrait Implementations§
Source§impl Clone for ManufacturerId
impl Clone for ManufacturerId
Source§fn clone(&self) -> ManufacturerId
fn clone(&self) -> ManufacturerId
Returns a duplicate 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 ManufacturerId
impl Debug for ManufacturerId
Source§impl PartialEq for ManufacturerId
impl PartialEq for ManufacturerId
Source§impl TryFrom<&[u8]> for ManufacturerId
impl TryFrom<&[u8]> for ManufacturerId
Source§type Error = FrameError
type Error = FrameError
The type returned in the event of a conversion error.
Source§fn try_from(data: &[u8]) -> Result<ManufacturerId, FrameError>
fn try_from(data: &[u8]) -> Result<ManufacturerId, FrameError>
Performs the conversion.
impl Copy for ManufacturerId
impl StructuralPartialEq for ManufacturerId
Auto Trait Implementations§
impl Freeze for ManufacturerId
impl RefUnwindSafe for ManufacturerId
impl Send for ManufacturerId
impl Sync for ManufacturerId
impl Unpin for ManufacturerId
impl UnsafeUnpin for ManufacturerId
impl UnwindSafe for ManufacturerId
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