pub struct PageMeta {
pub next: Option<Url>,
pub total_count: Option<u64>,
pub limit: Option<u64>,
}Available on crate feature
transport only.Expand description
The three headers a paginated response carries.
Spec: 2.3.0 §transport_and_format_paginated_response
Fields§
§next: Option<Url>The URL of the next page, present only when this is not the last page.
total_count: Option<u64>The total number of objects matching the query, excluding limit and offset.
limit: Option<u64>The maximum number of objects the server will return.
Note that this is an upper limit. If there are not enough remaining objects to return, fewer objects than this upper limit number will be returned, X-Limit SHALL then still show the upper limit, not the number of objects returned.
Implementations§
Trait Implementations§
impl Eq for PageMeta
impl StructuralPartialEq for PageMeta
Auto Trait Implementations§
impl Freeze for PageMeta
impl RefUnwindSafe for PageMeta
impl Send for PageMeta
impl Sync for PageMeta
impl Unpin for PageMeta
impl UnsafeUnpin for PageMeta
impl UnwindSafe for PageMeta
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,
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.