[][src]Struct cacache::Entry

pub struct Entry {
    pub key: String,
    pub integrity: Integrity,
    pub time: u128,
    pub size: usize,
    pub metadata: Value,
}

Represents a cache index entry, which points to content.

Fields

key: String

Key this entry is stored under.

integrity: Integrity

Integrity hash for the stored data. Acts as a key into {cache}/content.

time: u128

Timestamp in unix milliseconds when this entry was written.

size: usize

Size of data associated with this entry.

metadata: Value

Arbitrary JSON metadata associated with this entry.

Trait Implementations

impl PartialEq<Entry> for Entry[src]

impl Debug for Entry[src]

Auto Trait Implementations

impl Send for Entry

impl Unpin for Entry

impl Sync for Entry

impl UnwindSafe for Entry

impl RefUnwindSafe for Entry

Blanket Implementations

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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