Struct libosdp_sys::osdp_cmd_led
source · #[repr(C)]pub struct osdp_cmd_led {
pub reader: u8,
pub led_number: u8,
pub temporary: osdp_cmd_led_params,
pub permanent: osdp_cmd_led_params,
}Expand description
@brief Sent from CP to PD to control the behaviour of it’s on-board LEDs
@param reader 0 = First Reader, 1 = Second Reader, etc. @param led_number 0 = first LED, 1 = second LED, etc. @param temporary ephemeral LED status descriptor @param permanent permanent LED status descriptor
Fields§
§reader: u8§led_number: u8§temporary: osdp_cmd_led_params§permanent: osdp_cmd_led_paramsTrait Implementations§
source§impl Clone for osdp_cmd_led
impl Clone for osdp_cmd_led
source§fn clone(&self) -> osdp_cmd_led
fn clone(&self) -> osdp_cmd_led
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_cmd_led
impl Debug for osdp_cmd_led
impl Copy for osdp_cmd_led
Auto Trait Implementations§
impl RefUnwindSafe for osdp_cmd_led
impl Send for osdp_cmd_led
impl Sync for osdp_cmd_led
impl Unpin for osdp_cmd_led
impl UnwindSafe for osdp_cmd_led
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