Struct atuin_client::history::History [−][src]
pub struct History {
pub id: String,
pub timestamp: DateTime<Utc>,
pub duration: i64,
pub exit: i64,
pub command: String,
pub cwd: String,
pub session: String,
pub hostname: String,
}
Fields
id: String
timestamp: DateTime<Utc>
duration: i64
exit: i64
command: String
cwd: String
session: String
hostname: String
Implementations
Trait Implementations
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
impl<'a, R: Row> FromRow<'a, R> for History where
&'a str: ColumnIndex<R>,
String: Decode<'a, R::Database>,
String: Type<R::Database>,
DateTime<Utc>: Decode<'a, R::Database>,
DateTime<Utc>: Type<R::Database>,
i64: Decode<'a, R::Database>,
i64: Type<R::Database>,
i64: Decode<'a, R::Database>,
i64: Type<R::Database>,
String: Decode<'a, R::Database>,
String: Type<R::Database>,
String: Decode<'a, R::Database>,
String: Type<R::Database>,
String: Decode<'a, R::Database>,
String: Type<R::Database>,
String: Decode<'a, R::Database>,
String: Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for History where
&'a str: ColumnIndex<R>,
String: Decode<'a, R::Database>,
String: Type<R::Database>,
DateTime<Utc>: Decode<'a, R::Database>,
DateTime<Utc>: Type<R::Database>,
i64: Decode<'a, R::Database>,
i64: Type<R::Database>,
i64: Decode<'a, R::Database>,
i64: Type<R::Database>,
String: Decode<'a, R::Database>,
String: Type<R::Database>,
String: Decode<'a, R::Database>,
String: Type<R::Database>,
String: Decode<'a, R::Database>,
String: Type<R::Database>,
String: Decode<'a, R::Database>,
String: Type<R::Database>,
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for History
impl UnwindSafe for History
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more