pub struct ListMetadata {
pub total: i64,
pub matching: i64,
pub limit: i64,
pub offset: i64,
}Expand description
The metadata block of the list envelope (tolerant: fields may be
absent, extra keys like metrics are ignored).
Fields§
§total: i64Total items the collection holds.
matching: i64Items matching the current query.
limit: i64Effective limit (-1 = unlimited).
offset: i64Offset the page starts at.
Trait Implementations§
Source§impl Clone for ListMetadata
impl Clone for ListMetadata
Source§fn clone(&self) -> ListMetadata
fn clone(&self) -> ListMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ListMetadata
impl Debug for ListMetadata
Source§impl<'de> Deserialize<'de> for ListMetadata
impl<'de> Deserialize<'de> for ListMetadata
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
impl Eq for ListMetadata
Source§impl PartialEq for ListMetadata
impl PartialEq for ListMetadata
Source§impl Serialize for ListMetadata
impl Serialize for ListMetadata
impl StructuralPartialEq for ListMetadata
Auto Trait Implementations§
impl Freeze for ListMetadata
impl RefUnwindSafe for ListMetadata
impl Send for ListMetadata
impl Sync for ListMetadata
impl Unpin for ListMetadata
impl UnsafeUnpin for ListMetadata
impl UnwindSafe for ListMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.