pub struct SaveSettings<'a> {
pub name: Option<&'a str>,
}Expand description
Save Settings command
Fields§
§name: Option<&'a str>if provided, contains the settings subtree name to save, if not then will save all settings.
Trait Implementations§
Source§impl<'a> Clone for SaveSettings<'a>
impl<'a> Clone for SaveSettings<'a>
Source§fn clone(&self) -> SaveSettings<'a>
fn clone(&self) -> SaveSettings<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for SaveSettings<'a>
impl<'a> Debug for SaveSettings<'a>
Source§impl McuMgrCommand for SaveSettings<'_>
impl McuMgrCommand for SaveSettings<'_>
Source§type Payload = SaveSettings<'_>
type Payload = SaveSettings<'_>
the data payload type
Source§type Response = SaveSettingsResponse
type Response = SaveSettingsResponse
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 SaveSettings<'a>
impl<'a> PartialEq for SaveSettings<'a>
Source§impl<'a> Serialize for SaveSettings<'a>
impl<'a> Serialize for SaveSettings<'a>
impl<'a> Eq for SaveSettings<'a>
impl<'a> StructuralPartialEq for SaveSettings<'a>
Auto Trait Implementations§
impl<'a> Freeze for SaveSettings<'a>
impl<'a> RefUnwindSafe for SaveSettings<'a>
impl<'a> Send for SaveSettings<'a>
impl<'a> Sync for SaveSettings<'a>
impl<'a> Unpin for SaveSettings<'a>
impl<'a> UnsafeUnpin for SaveSettings<'a>
impl<'a> UnwindSafe for SaveSettings<'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