pub struct PaginationLinks {
pub first: Option<String>,
pub last: Option<String>,
pub prev: Option<String>,
pub next: Option<String>,
}
Fields§
§first: Option<String>
The first page of data.
last: Option<String>
The last page of data.
prev: Option<String>
The previous page of data.
next: Option<String>
The next page of data.
Implementations§
Source§impl PaginationLinks
impl PaginationLinks
pub fn new() -> PaginationLinks
Trait Implementations§
Source§impl Clone for PaginationLinks
impl Clone for PaginationLinks
Source§fn clone(&self) -> PaginationLinks
fn clone(&self) -> PaginationLinks
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 PaginationLinks
impl Debug for PaginationLinks
Source§impl Default for PaginationLinks
impl Default for PaginationLinks
Source§fn default() -> PaginationLinks
fn default() -> PaginationLinks
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaginationLinks
impl<'de> Deserialize<'de> for PaginationLinks
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 PaginationLinks
impl PartialEq for PaginationLinks
Source§impl Serialize for PaginationLinks
impl Serialize for PaginationLinks
impl StructuralPartialEq for PaginationLinks
Auto Trait Implementations§
impl Freeze for PaginationLinks
impl RefUnwindSafe for PaginationLinks
impl Send for PaginationLinks
impl Sync for PaginationLinks
impl Unpin for PaginationLinks
impl UnwindSafe for PaginationLinks
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