pub struct ActionStruct<'a> {
pub action_id: u16,
pub name: &'a str,
pub type_: ActionTypeEnum,
pub endpoint_list_id: u16,
pub supported_commands: CommandBits,
pub state: ActionStateEnum,
}Expand description
ActionStruct.
Fields§
§action_id: u16ActionID, field 0.
name: &'a strName, field 1.
type_: ActionTypeEnumType, field 2.
endpoint_list_id: u16EndpointListID, field 3.
supported_commands: CommandBitsSupportedCommands, field 4.
state: ActionStateEnumState, field 5.
Trait Implementations§
Source§impl<'a> Clone for ActionStruct<'a>
impl<'a> Clone for ActionStruct<'a>
impl<'a> Copy for ActionStruct<'a>
Source§impl<'a> Debug for ActionStruct<'a>
impl<'a> Debug for ActionStruct<'a>
Source§impl<'a> FromTlv<'a> for ActionStruct<'a>
impl<'a> FromTlv<'a> for ActionStruct<'a>
Source§impl<'a> PartialEq for ActionStruct<'a>
impl<'a> PartialEq for ActionStruct<'a>
impl<'a> StructuralPartialEq for ActionStruct<'a>
Auto Trait Implementations§
impl<'a> Forget for ActionStruct<'a>
impl<'a> Freeze for ActionStruct<'a>
impl<'a> Move for ActionStruct<'a>
impl<'a> RefUnwindSafe for ActionStruct<'a>
impl<'a> Send for ActionStruct<'a>
impl<'a> Sync for ActionStruct<'a>
impl<'a> Unpin for ActionStruct<'a>
impl<'a> UnsafeUnpin for ActionStruct<'a>
impl<'a> UnwindSafe for ActionStruct<'a>
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