pub struct ActionParams {
pub device_key: u32,
pub group_key: u32,
pub group_mask: u32,
pub scheduled_time: Option<u64>,
pub channel: u16,
}Expand description
Parameters used to construct an action command.
Fields§
§device_key: u32Vendor-specific device key used to authorise the action.
group_key: u32Group key identifying which devices should react to the action.
group_mask: u32Group mask applied to the device key by receivers.
scheduled_time: Option<u64>Optional scheduled time expressed in device clock ticks.
channel: u16Stream channel identifier associated with the action.
Trait Implementations§
Source§impl Clone for ActionParams
impl Clone for ActionParams
Source§fn clone(&self) -> ActionParams
fn clone(&self) -> ActionParams
Returns a duplicate 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 ActionParams
impl Debug for ActionParams
Source§impl PartialEq for ActionParams
impl PartialEq for ActionParams
impl Eq for ActionParams
impl StructuralPartialEq for ActionParams
Auto Trait Implementations§
impl Freeze for ActionParams
impl RefUnwindSafe for ActionParams
impl Send for ActionParams
impl Sync for ActionParams
impl Unpin for ActionParams
impl UnwindSafe for ActionParams
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