pub struct PaginationLinks {
pub last: String,
pub first: String,
pub previous: Option<String>,
pub next: Option<String>,
}Fields§
§last: StringLast page
first: StringFirst page
previous: Option<String>Previous page
next: Option<String>Next page
Trait Implementations§
Source§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 Display for PaginationLinks
impl Display 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