Struct libosdp_sys::osdp_pd_cap
source · #[repr(C)]pub struct osdp_pd_cap {
pub function_code: u8,
pub compliance_level: u8,
pub num_items: u8,
}Expand description
@brief PD capability structure. Each PD capability has a 3 byte representation.
Fields§
§function_code: u8Capability function code. See @ref osdp_pd_cap_function_code_e
compliance_level: u8A function_code dependent number that indicates what the PD can do with this capability.
num_items: u8Number of such capability entities in PD
Trait Implementations§
source§impl Clone for osdp_pd_cap
impl Clone for osdp_pd_cap
source§fn clone(&self) -> osdp_pd_cap
fn clone(&self) -> osdp_pd_cap
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_pd_cap
impl Debug for osdp_pd_cap
impl Copy for osdp_pd_cap
Auto Trait Implementations§
impl Freeze for osdp_pd_cap
impl RefUnwindSafe for osdp_pd_cap
impl Send for osdp_pd_cap
impl Sync for osdp_pd_cap
impl Unpin for osdp_pd_cap
impl UnwindSafe for osdp_pd_cap
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