pub struct GroupingsReport {
pub groups: u8,
}Expand description
Association Groupings Report (0x85 0x06).
Fields§
§groups: u8The groups field.
Implementations§
Source§impl GroupingsReport
impl GroupingsReport
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 GroupingsReport
impl Clone for GroupingsReport
Source§impl Debug for GroupingsReport
impl Debug for GroupingsReport
Source§impl Default for GroupingsReport
impl Default for GroupingsReport
impl Eq for GroupingsReport
Source§impl From<GroupingsReport> for Command
impl From<GroupingsReport> for Command
Source§fn from(c: GroupingsReport) -> Self
fn from(c: GroupingsReport) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GroupingsReport
impl PartialEq for GroupingsReport
impl StructuralPartialEq for GroupingsReport
Auto Trait Implementations§
impl Freeze for GroupingsReport
impl RefUnwindSafe for GroupingsReport
impl Send for GroupingsReport
impl Sync for GroupingsReport
impl Unpin for GroupingsReport
impl UnsafeUnpin for GroupingsReport
impl UnwindSafe for GroupingsReport
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