pub struct ApplicationInfo<'a> {
pub format: Option<&'a str>,
}Expand description
OS/Application Info command
Fields§
§format: Option<&'a str>Format specifier of returned response
For more info, see the SMP documentation.
Trait Implementations§
Source§impl<'a> Debug for ApplicationInfo<'a>
impl<'a> Debug for ApplicationInfo<'a>
Source§impl McuMgrCommand for ApplicationInfo<'_>
impl McuMgrCommand for ApplicationInfo<'_>
Source§type Payload = ApplicationInfo<'_>
type Payload = ApplicationInfo<'_>
the data payload type
Source§type Response = ApplicationInfoResponse
type Response = ApplicationInfoResponse
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
Source§impl<'a> PartialEq for ApplicationInfo<'a>
impl<'a> PartialEq for ApplicationInfo<'a>
Source§impl<'a> Serialize for ApplicationInfo<'a>
impl<'a> Serialize for ApplicationInfo<'a>
impl<'a> Eq for ApplicationInfo<'a>
impl<'a> StructuralPartialEq for ApplicationInfo<'a>
Auto Trait Implementations§
impl<'a> Freeze for ApplicationInfo<'a>
impl<'a> RefUnwindSafe for ApplicationInfo<'a>
impl<'a> Send for ApplicationInfo<'a>
impl<'a> Sync for ApplicationInfo<'a>
impl<'a> Unpin for ApplicationInfo<'a>
impl<'a> UnwindSafe for ApplicationInfo<'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