Struct github_rest::methods::Pagination
source · pub struct Pagination {
pub per_page: Option<String>,
pub page: Option<String>,
}
Fields§
§per_page: Option<String>
Results per page (max 100) Default: 30
page: Option<String>
Page number of the results to fetch. Default: 1
Trait Implementations§
source§impl Clone for Pagination
impl Clone for Pagination
source§fn clone(&self) -> Pagination
fn clone(&self) -> Pagination
Returns a copy 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 Pagination
impl Debug for Pagination
source§impl Default for Pagination
impl Default for Pagination
source§fn default() -> Pagination
fn default() -> Pagination
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Pagination
impl<'de> Deserialize<'de> for Pagination
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 RefUnwindSafe for Pagination
impl Send for Pagination
impl Sync for Pagination
impl Unpin for Pagination
impl UnwindSafe for Pagination
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