pub struct ReadSetting<'a> {
pub name: &'a str,
pub max_size: Option<u32>,
}Expand description
Read Setting command
Fields§
§name: &'a strstring of the setting to retrieve
max_size: Option<u32>optional maximum size of data to return
Trait Implementations§
Source§impl<'a> Clone for ReadSetting<'a>
impl<'a> Clone for ReadSetting<'a>
Source§fn clone(&self) -> ReadSetting<'a>
fn clone(&self) -> ReadSetting<'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 ReadSetting<'a>
impl<'a> Debug for ReadSetting<'a>
Source§impl McuMgrCommand for ReadSetting<'_>
impl McuMgrCommand for ReadSetting<'_>
Source§type Payload = ReadSetting<'_>
type Payload = ReadSetting<'_>
the data payload type
Source§type Response = ReadSettingResponse
type Response = ReadSettingResponse
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 ReadSetting<'a>
impl<'a> PartialEq for ReadSetting<'a>
Source§impl<'a> Serialize for ReadSetting<'a>
impl<'a> Serialize for ReadSetting<'a>
impl<'a> Eq for ReadSetting<'a>
impl<'a> StructuralPartialEq for ReadSetting<'a>
Auto Trait Implementations§
impl<'a> Freeze for ReadSetting<'a>
impl<'a> RefUnwindSafe for ReadSetting<'a>
impl<'a> Send for ReadSetting<'a>
impl<'a> Sync for ReadSetting<'a>
impl<'a> Unpin for ReadSetting<'a>
impl<'a> UnsafeUnpin for ReadSetting<'a>
impl<'a> UnwindSafe for ReadSetting<'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