Struct libosdp_sys::osdp_event_io
source · #[repr(C)]pub struct osdp_event_io {
pub type_: c_int,
pub status: u32,
}Expand description
@brief OSDP Event input/output status
This event is used by the PD to indicate input/output status changes. Upto a maximum of 32 input/output status can be reported. The values of the least significant N bit of status are considered, where N is the number of items as described in the corresponding capability codes: OSDP_PD_CAP_OUTPUT_CONTROL and OSDP_PD_CAP_CONTACT_STATUS_MONITORING.
@param type 0 - input; 1 - output @param status bit mask of current input status.
Fields§
§type_: c_int§status: u32Trait Implementations§
source§impl Clone for osdp_event_io
impl Clone for osdp_event_io
source§fn clone(&self) -> osdp_event_io
fn clone(&self) -> osdp_event_io
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_io
impl Debug for osdp_event_io
impl Copy for osdp_event_io
Auto Trait Implementations§
impl RefUnwindSafe for osdp_event_io
impl Send for osdp_event_io
impl Sync for osdp_event_io
impl Unpin for osdp_event_io
impl UnwindSafe for osdp_event_io
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