pub struct Paging {
pub first: Option<String>,
pub next: String,
pub previous: String,
pub last: Option<String>,
}
Expand description
Structure of pagination data returned by some API endpoints.
Fields§
§first: Option<String>
§next: String
§previous: String
§last: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Paging
impl<'de> Deserialize<'de> for Paging
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 Paging
impl RefUnwindSafe for Paging
impl Send for Paging
impl Sync for Paging
impl Unpin for Paging
impl UnwindSafe for Paging
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