pub struct PagingObject {
pub href: String,
pub limit: usize,
pub next: String,
pub offset: usize,
pub previous: String,
pub total: usize,
}Expand description
Fields§
§href: StringA link to the Web API endpoint returning the full result of the request
limit: usizeThe requested data. The maximum number of items in the response (as set in the query or by default).
next: StringURL to the next page of items. (null if none)
offset: usizeThe offset of the items returned (as set in the query or by default)
previous: StringURL to the previous page of items. (null if none)
total: usizeThe total number of items available to return.
Trait Implementations§
Source§impl Clone for PagingObject
impl Clone for PagingObject
Source§fn clone(&self) -> PagingObject
fn clone(&self) -> PagingObject
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 PagingObject
impl Debug for PagingObject
Source§impl<'de> Deserialize<'de> for PagingObject
impl<'de> Deserialize<'de> for PagingObject
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
Source§impl PartialEq for PagingObject
impl PartialEq for PagingObject
Source§impl Serialize for PagingObject
impl Serialize for PagingObject
impl Eq for PagingObject
impl StructuralPartialEq for PagingObject
Auto Trait Implementations§
impl Freeze for PagingObject
impl RefUnwindSafe for PagingObject
impl Send for PagingObject
impl Sync for PagingObject
impl Unpin for PagingObject
impl UnwindSafe for PagingObject
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.