Struct libosdp_sys::osdp_cmd_keyset
source · #[repr(C)]pub struct osdp_cmd_keyset {
pub type_: u8,
pub length: u8,
pub data: [u8; 32],
}Expand description
@brief This command transfers an encryption key from the CP to a PD.
@param type Type of keys:
- 0x01 – Secure Channel Base Key @param length Number of bytes of key data - (Key Length in bits + 7) / 8 @param data Key data
Fields§
§type_: u8§length: u8§data: [u8; 32]Trait Implementations§
source§impl Clone for osdp_cmd_keyset
impl Clone for osdp_cmd_keyset
source§fn clone(&self) -> osdp_cmd_keyset
fn clone(&self) -> osdp_cmd_keyset
Returns a copy 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 osdp_cmd_keyset
impl Debug for osdp_cmd_keyset
impl Copy for osdp_cmd_keyset
Auto Trait Implementations§
impl RefUnwindSafe for osdp_cmd_keyset
impl Send for osdp_cmd_keyset
impl Sync for osdp_cmd_keyset
impl Unpin for osdp_cmd_keyset
impl UnwindSafe for osdp_cmd_keyset
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