pub struct Page<M> {
pub items: Vec<M>,
pub total: u64,
pub page: u32,
pub per_page: u32,
pub has_next: bool,
}Fields§
§items: Vec<M>§total: u64§page: u32§per_page: u32§has_next: boolAuto Trait Implementations§
impl<M> Freeze for Page<M>
impl<M> RefUnwindSafe for Page<M>where
M: RefUnwindSafe,
impl<M> Send for Page<M>where
M: Send,
impl<M> Sync for Page<M>where
M: Sync,
impl<M> Unpin for Page<M>where
M: Unpin,
impl<M> UnsafeUnpin for Page<M>
impl<M> UnwindSafe for Page<M>where
M: UnwindSafe,
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