pub struct GroupId {
pub index: Option<u16>,
}Expand description
Fetch single group ID command
Fields§
§index: Option<u16>contains the (0-based) index of the group to return information on, can be omitted to return the first group’s details.
Trait Implementations§
Source§impl McuMgrCommand for GroupId
impl McuMgrCommand for GroupId
Source§type Response = GroupIdResponse
type Response = GroupIdResponse
the response type of the command
Source§fn is_write_operation(&self) -> bool
fn is_write_operation(&self) -> bool
whether this command is a read or write operation
Source§fn command_id(&self) -> u8
fn command_id(&self) -> u8
the command ID
impl Eq for GroupId
impl StructuralPartialEq for GroupId
Auto Trait Implementations§
impl Freeze for GroupId
impl RefUnwindSafe for GroupId
impl Send for GroupId
impl Sync for GroupId
impl Unpin for GroupId
impl UnsafeUnpin for GroupId
impl UnwindSafe for GroupId
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