pub struct CommandClassGet {
pub requested_cc: u8,
}Expand description
Version Command Class Get (0x86 0x13).
Fields§
§requested_cc: u8The requested_cc field.
Implementations§
Source§impl CommandClassGet
impl CommandClassGet
Sourcepub fn parse(p: &[u8]) -> Result<Self, ParseError>
pub fn parse(p: &[u8]) -> Result<Self, ParseError>
Parses the payload after the command id. Extra trailing bytes (newer versions) are ignored.
Sourcepub fn encode_payload(&self, w: &mut Vec<u8>)
pub fn encode_payload(&self, w: &mut Vec<u8>)
Appends the payload after the command id.
Trait Implementations§
Source§impl Clone for CommandClassGet
impl Clone for CommandClassGet
Source§impl Debug for CommandClassGet
impl Debug for CommandClassGet
Source§impl Default for CommandClassGet
impl Default for CommandClassGet
impl Eq for CommandClassGet
Source§impl From<CommandClassGet> for Command
impl From<CommandClassGet> for Command
Source§fn from(c: CommandClassGet) -> Self
fn from(c: CommandClassGet) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CommandClassGet
impl PartialEq for CommandClassGet
impl StructuralPartialEq for CommandClassGet
Auto Trait Implementations§
impl Freeze for CommandClassGet
impl RefUnwindSafe for CommandClassGet
impl Send for CommandClassGet
impl Sync for CommandClassGet
impl Unpin for CommandClassGet
impl UnsafeUnpin for CommandClassGet
impl UnwindSafe for CommandClassGet
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