#[repr(C)]pub struct osdp_event {
pub type_: osdp_event_type,
pub __bindgen_anon_1: osdp_event__bindgen_ty_1,
}Expand description
@brief OSDP Event structure.
Fields§
§type_: osdp_event_typeEvent type. Used to select specific event in union.
__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 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)