pub struct Pagination {
pub pages: Vec<Page>,
pub current: Page,
}
Expand description
Pagination data from a page
Fields§
§pages: Vec<Page>
List of pages around the current
current: Page
Current page
Trait Implementations§
Source§impl Debug for Pagination
impl Debug for Pagination
Auto Trait Implementations§
impl Freeze for Pagination
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