Struct sea_orm::ItemsAndPagesNumber
source · pub struct ItemsAndPagesNumber {
pub number_of_items: u64,
pub number_of_pages: u64,
}
Expand description
Define a structure containing the numbers of items and pages of a Paginator
Fields§
§number_of_items: u64
The total number of items of a paginator
number_of_pages: u64
The total number of pages of a paginator
Trait Implementations§
source§impl Clone for ItemsAndPagesNumber
impl Clone for ItemsAndPagesNumber
source§fn clone(&self) -> ItemsAndPagesNumber
fn clone(&self) -> ItemsAndPagesNumber
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 moreAuto Trait Implementations§
impl RefUnwindSafe for ItemsAndPagesNumber
impl Send for ItemsAndPagesNumber
impl Sync for ItemsAndPagesNumber
impl Unpin for ItemsAndPagesNumber
impl UnwindSafe for ItemsAndPagesNumber
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