#[repr(C)]pub struct osdp_event {
pub type_: osdp_event_type,
pub flags: u32,
pub __bindgen_anon_1: osdp_event__bindgen_ty_1,
}Expand description
@brief OSDP Event structure.
Fields§
§type_: osdp_event_type< Event type. Used to select specific event in union
flags: u32< Flags; reserved, set to zero
__bindgen_anon_1: osdp_event__bindgen_ty_1Trait Implementations§
Source§impl Clone for osdp_event
impl Clone for osdp_event
Source§fn clone(&self) -> osdp_event
fn clone(&self) -> osdp_event
Returns a duplicate 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 moreimpl Copy for osdp_event
Auto Trait Implementations§
impl Freeze for osdp_event
impl RefUnwindSafe for osdp_event
impl Send for osdp_event
impl Sync for osdp_event
impl Unpin for osdp_event
impl UnwindSafe for osdp_event
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