pub struct PivData {
pub object_id: [u8; 3],
pub element_id: u8,
pub offset: u16,
pub data: Vec<u8>,
}Expand description
osdp_PIVDATA body.
Format follows Annex F of the spec; we treat the body as a typed selector plus opaque payload for forward-compatibility with PIV variants.
Fields§
§object_id: [u8; 3]PIV object tag (e.g. CHUID, CCC, PHOTO).
element_id: u8Element ID within the object.
offset: u16Data offset (when fragmented).
data: Vec<u8>Trailing payload (often empty for read requests).
Implementations§
Trait Implementations§
impl Eq for PivData
impl StructuralPartialEq for PivData
Auto Trait Implementations§
impl Freeze for PivData
impl RefUnwindSafe for PivData
impl Send for PivData
impl Sync for PivData
impl Unpin for PivData
impl UnsafeUnpin for PivData
impl UnwindSafe for PivData
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