Struct worker_kv::ListResponse[][src]

pub struct ListResponse {
    pub keys: Vec<Key>,
    pub list_complete: bool,
    pub cursor: Option<String>,
}

The response for listing the elements in a KV store.

Fields

keys: Vec<Key>

A slice of all of the keys in the KV store.

list_complete: bool

If there are more keys that can be fetched using the response’s cursor.

cursor: Option<String>

A string used for paginating responses.

Trait Implementations

impl Clone for ListResponse[src]

impl Debug for ListResponse[src]

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

impl Serialize for ListResponse[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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> ToRawKvValue for T where
    T: Serialize
[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.