pub struct PageParams {
pub from: Option<String>,
pub to: Option<String>,
pub page_before: Option<String>,
pub page_after: Option<String>,
pub page_size: Option<u32>,
}Expand description
Pagination cursor parameters shared across list endpoints.
Fields§
§from: Option<String>Start of date-time range (ISO-8601, inclusive).
to: Option<String>End of date-time range (ISO-8601, inclusive).
page_before: Option<String>Cursor for the previous page (exclusive end).
page_after: Option<String>Cursor for the next page (exclusive start).
page_size: Option<u32>Maximum number of items to return (1–50, default 10).
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
Source§fn default() -> PageParams
fn default() -> PageParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PageParams
impl RefUnwindSafe for PageParams
impl Send for PageParams
impl Sync for PageParams
impl Unpin for PageParams
impl UnsafeUnpin 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