pub struct CommandLog {
pub timestamp: String,
pub command: String,
}Expand description
Represents a command entered by the user.
Fields§
§timestamp: String§command: StringTrait Implementations§
Source§impl Debug for CommandLog
impl Debug for CommandLog
Source§impl<'de> Deserialize<'de> for CommandLog
impl<'de> Deserialize<'de> for CommandLog
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CommandLog
impl RefUnwindSafe for CommandLog
impl Send for CommandLog
impl Sync for CommandLog
impl Unpin for CommandLog
impl UnsafeUnpin for CommandLog
impl UnwindSafe for CommandLog
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