#[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
Fields§
§reader: u8Reader number. 0 = First Reader, 1 = Second Reader, etc.
led_number: u8LED number. 0 = first LED, 1 = second LED, etc.
temporary: osdp_cmd_led_paramsEphemeral LED status descriptor.
permanent: osdp_cmd_led_paramsPermanent LED status descriptor.
Trait 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 Freeze for osdp_cmd_led
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
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)