[][src]Struct async_memcached::KeyMetadata

pub struct KeyMetadata {
    pub key: Vec<u8>,
    pub expiration: i64,
    pub last_accessed: u64,
    pub cas: u64,
    pub fetched: bool,
    pub class_id: u32,
    pub size: u32,
}

Metadata for a given key in a metadump operation.

Fields

key: Vec<u8>

The key.

expiration: i64

Expiration time of this key, as a Unix timestamp.

last_accessed: u64

Last time this key was accessed, in seconds.

cas: u64

CAS identifier.

fetched: bool

Whether or not this key has ever been fetched.

class_id: u32

Slab class ID.

size: u32

Size, in bytes.

Trait Implementations

impl Clone for KeyMetadata[src]

impl Debug for KeyMetadata[src]

impl PartialEq<KeyMetadata> for KeyMetadata[src]

impl StructuralPartialEq for KeyMetadata[src]

Auto Trait Implementations

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> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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.