pub struct DateTimeSet {
pub datetime: NaiveDateTime,
}Expand description
Date-Time Set command
Fields§
§datetime: NaiveDateTimeString in format: yyyy-MM-dd'T'HH:mm:ss.SSS.
Trait Implementations§
Source§impl Debug for DateTimeSet
impl Debug for DateTimeSet
Source§impl McuMgrCommand for DateTimeSet
impl McuMgrCommand for DateTimeSet
Source§type Payload = DateTimeSet
type Payload = DateTimeSet
the data payload type
Source§type Response = DateTimeSetResponse
type Response = DateTimeSetResponse
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 PartialEq for DateTimeSet
impl PartialEq for DateTimeSet
Source§impl Serialize for DateTimeSet
impl Serialize for DateTimeSet
impl Eq for DateTimeSet
impl StructuralPartialEq for DateTimeSet
Auto Trait Implementations§
impl Freeze for DateTimeSet
impl RefUnwindSafe for DateTimeSet
impl Send for DateTimeSet
impl Sync for DateTimeSet
impl Unpin for DateTimeSet
impl UnwindSafe for DateTimeSet
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