pub struct PdId {
pub vendor_oui: [u8; 3],
pub model: u8,
pub version: u8,
pub serial: u32,
pub firmware: [u8; 3],
}Expand description
osdp_PDID body.
Fields§
§vendor_oui: [u8; 3]IEEE-assigned OUI.
model: u8Model number.
version: u8Hardware/firmware family version.
serial: u3232-bit serial number.
firmware: [u8; 3]Firmware revision: [major, minor, build].
Implementations§
Trait Implementations§
impl Copy for PdId
impl Eq for PdId
impl StructuralPartialEq for PdId
Auto Trait Implementations§
impl Freeze for PdId
impl RefUnwindSafe for PdId
impl Send for PdId
impl Sync for PdId
impl Unpin for PdId
impl UnsafeUnpin for PdId
impl UnwindSafe for PdId
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