pub struct CommandEntry {
pub text: String,
pub timestamp: u64,
pub session_id: String,
pub project: Option<String>,
}Expand description
A user command entered in the CLI.
Fields§
§text: StringThe command text entered by the user.
timestamp: u64Unix timestamp when command was entered.
session_id: StringSession ID this command belongs to.
project: Option<String>Project path if available.
Trait Implementations§
Source§impl Clone for CommandEntry
impl Clone for CommandEntry
Source§impl Debug for CommandEntry
impl Debug for CommandEntry
Source§impl<'de> Deserialize<'de> for CommandEntry
impl<'de> Deserialize<'de> for CommandEntry
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 CommandEntry
impl RefUnwindSafe for CommandEntry
impl Send for CommandEntry
impl Sync for CommandEntry
impl Unpin for CommandEntry
impl UnsafeUnpin for CommandEntry
impl UnwindSafe for CommandEntry
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