#[repr(C)]pub struct MasterIdentity {
pub vendor_id: u32,
pub product_code: u32,
pub revision_no: u32,
pub serial_no: u32,
pub device_name: [u8; 64],
pub hw_version: [u8; 32],
pub sw_version: [u8; 32],
}Fields§
§vendor_id: u32§product_code: u32§revision_no: u32§serial_no: u32§device_name: [u8; 64]§hw_version: [u8; 32]§sw_version: [u8; 32]Trait Implementations§
Source§impl Clone for MasterIdentity
impl Clone for MasterIdentity
Source§fn clone(&self) -> MasterIdentity
fn clone(&self) -> MasterIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MasterIdentity
Source§impl Debug for MasterIdentity
impl Debug for MasterIdentity
Auto Trait Implementations§
impl Freeze for MasterIdentity
impl RefUnwindSafe for MasterIdentity
impl Send for MasterIdentity
impl Sync for MasterIdentity
impl Unpin for MasterIdentity
impl UnsafeUnpin for MasterIdentity
impl UnwindSafe for MasterIdentity
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