pub struct ResponsePagination {
pub prev_page: Option<String>,
pub next_page: Option<String>,
}
Expand description
ResponsePagination : If pagination is needed due to the length of the response, identifies the next and previous pages.
Fields§
§prev_page: Option<String>
A URL that calls the previous page of the response.
next_page: Option<String>
A URL that calls the next page of the response.
Implementations§
Source§impl ResponsePagination
impl ResponsePagination
Sourcepub fn new() -> ResponsePagination
pub fn new() -> ResponsePagination
If pagination is needed due to the length of the response, identifies the next and previous pages.
Trait Implementations§
Source§impl Clone for ResponsePagination
impl Clone for ResponsePagination
Source§fn clone(&self) -> ResponsePagination
fn clone(&self) -> ResponsePagination
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 ResponsePagination
impl Debug for ResponsePagination
Source§impl Default for ResponsePagination
impl Default for ResponsePagination
Source§fn default() -> ResponsePagination
fn default() -> ResponsePagination
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResponsePagination
impl<'de> Deserialize<'de> for ResponsePagination
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 ResponsePagination
impl PartialEq for ResponsePagination
Source§impl Serialize for ResponsePagination
impl Serialize for ResponsePagination
impl StructuralPartialEq for ResponsePagination
Auto Trait Implementations§
impl Freeze for ResponsePagination
impl RefUnwindSafe for ResponsePagination
impl Send for ResponsePagination
impl Sync for ResponsePagination
impl Unpin for ResponsePagination
impl UnwindSafe for ResponsePagination
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