pub struct PaginationMeta {
pub current_page: u32,
pub per_page: u32,
pub total_items: u64,
pub total_pages: u32,
pub has_next: bool,
pub has_prev: bool,
}
Expand description
Pagination metadata for responses
Fields§
§current_page: u32
§per_page: u32
§total_items: u64
§total_pages: u32
§has_next: bool
§has_prev: bool
Implementations§
Trait Implementations§
Source§impl Debug for PaginationMeta
impl Debug for PaginationMeta
Auto Trait Implementations§
impl Freeze for PaginationMeta
impl RefUnwindSafe for PaginationMeta
impl Send for PaginationMeta
impl Sync for PaginationMeta
impl Unpin for PaginationMeta
impl UnwindSafe for PaginationMeta
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