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: Stringtimestamp: DateTime<Utc>duration: i64exit: i64command: Stringcwd: Stringsession: Stringhostname: String

Implementations

impl History[src]

pub fn new(
    timestamp: DateTime<Utc>,
    command: String,
    cwd: String,
    exit: i64,
    duration: i64,
    session: Option<String>,
    hostname: Option<String>
) -> Self
[src]

Trait Implementations

impl Clone for History[src]

impl Debug for History[src]

impl<'de> Deserialize<'de> for History[src]

impl Eq for History[src]

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>, 
[src]

impl Hash for History[src]

impl Ord for History[src]

impl PartialEq<History> for History[src]

impl PartialOrd<History> for History[src]

impl Serialize for History[src]

Auto Trait Implementations

impl RefUnwindSafe for History

impl Send for History

impl Sync for History

impl Unpin for History

impl UnwindSafe for History

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash

impl<T> CallHasher for T where
    T: Hash + ?Sized

impl<T> Conv for T

impl<T> Conv for T

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,