pub struct ResponsesPaginationInfo { /* private fields */ }
Implementations§
Source§impl ResponsesPaginationInfo
impl ResponsesPaginationInfo
pub fn new() -> ResponsesPaginationInfo
pub fn set_page(&mut self, page: i32)
pub fn with_page(self, page: i32) -> ResponsesPaginationInfo
pub fn page(&self) -> Option<&i32>
pub fn reset_page(&mut self)
pub fn set_per_page(&mut self, per_page: i32)
pub fn with_per_page(self, per_page: i32) -> ResponsesPaginationInfo
pub fn per_page(&self) -> Option<&i32>
pub fn reset_per_page(&mut self)
pub fn set_total(&mut self, total: i32)
pub fn with_total(self, total: i32) -> ResponsesPaginationInfo
pub fn total(&self) -> Option<&i32>
pub fn reset_total(&mut self)
pub fn set_total_pages(&mut self, total_pages: i32)
pub fn with_total_pages(self, total_pages: i32) -> ResponsesPaginationInfo
pub fn total_pages(&self) -> Option<&i32>
pub fn reset_total_pages(&mut self)
Trait Implementations§
Source§impl Debug for ResponsesPaginationInfo
impl Debug for ResponsesPaginationInfo
Source§impl<'de> Deserialize<'de> for ResponsesPaginationInfo
impl<'de> Deserialize<'de> for ResponsesPaginationInfo
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 ResponsesPaginationInfo
impl RefUnwindSafe for ResponsesPaginationInfo
impl Send for ResponsesPaginationInfo
impl Sync for ResponsesPaginationInfo
impl Unpin for ResponsesPaginationInfo
impl UnwindSafe for ResponsesPaginationInfo
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