#[repr(C)]pub struct osdp_cmd {
pub id: osdp_cmd_e,
pub __bindgen_anon_1: osdp_cmd__bindgen_ty_1,
}
Expand description
@brief OSDP Command Structure. This is a wrapper for all individual OSDP commands.
Fields§
§id: osdp_cmd_e
Command ID. Used to select specific commands in union.
__bindgen_anon_1: osdp_cmd__bindgen_ty_1
Trait Implementations§
Auto Trait Implementations§
impl Freeze for osdp_cmd
impl RefUnwindSafe for osdp_cmd
impl Send for osdp_cmd
impl Sync for osdp_cmd
impl Unpin for osdp_cmd
impl UnwindSafe for osdp_cmd
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