Struct libosdp_sys::osdp_event_keypress
source · #[repr(C)]pub struct osdp_event_keypress {
pub reader_no: c_int,
pub length: c_int,
pub data: [u8; 64],
}Expand description
@brief OSDP Event Keypad
Fields§
§reader_no: c_intReader number in context of sub-readers attached to current PD; this number indicates the number of that reader. This is not supported by LibOSDP.
length: c_intLength of keypress data in bytes
data: [u8; 64]Keypress data of @a length bytes
Trait Implementations§
source§impl Clone for osdp_event_keypress
impl Clone for osdp_event_keypress
source§fn clone(&self) -> osdp_event_keypress
fn clone(&self) -> osdp_event_keypress
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_event_keypress
impl Debug for osdp_event_keypress
impl Copy for osdp_event_keypress
Auto Trait Implementations§
impl Freeze for osdp_event_keypress
impl RefUnwindSafe for osdp_event_keypress
impl Send for osdp_event_keypress
impl Sync for osdp_event_keypress
impl Unpin for osdp_event_keypress
impl UnwindSafe for osdp_event_keypress
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