pub struct PageParams {
pub page_size: i32,
pub page_offset: Option<i64>,
}Expand description
Page-based pagination parameters
Fields§
§page_size: i32Number of items per page
page_offset: Option<i64>Page offset (0-indexed)
Implementations§
Source§impl PageParams
impl PageParams
Trait Implementations§
Source§impl Clone for PageParams
impl Clone for PageParams
Source§fn clone(&self) -> PageParams
fn clone(&self) -> PageParams
Returns a duplicate 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 moreSource§impl Debug for PageParams
impl Debug for PageParams
Source§impl Default for PageParams
impl Default for PageParams
Auto Trait Implementations§
impl Freeze for PageParams
impl RefUnwindSafe for PageParams
impl Send for PageParams
impl Sync for PageParams
impl Unpin for PageParams
impl UnwindSafe for PageParams
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