pub struct ListResponse {
pub keys: Vec<Key>,
pub list_complete: bool,
pub cursor: Option<String>,
}Expand description
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: boolIf there are more keys that can be fetched using the response’s cursor.
cursor: Option<String>A string used for paginating responses.
Trait Implementations§
Source§impl Clone for ListResponse
impl Clone for ListResponse
Source§fn clone(&self) -> ListResponse
fn clone(&self) -> ListResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ListResponse
impl Debug for ListResponse
Source§impl<'de> Deserialize<'de> for ListResponse
impl<'de> Deserialize<'de> for ListResponse
Source§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
Auto Trait Implementations§
impl Freeze for ListResponse
impl RefUnwindSafe for ListResponse
impl Send for ListResponse
impl Sync for ListResponse
impl Unpin for ListResponse
impl UnwindSafe for ListResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more