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
Query parameters for paginated list endpoints.
Fields§
§from: Option<String>Filter results from this date-time (ISO 8601).
to: Option<String>Filter results to this date-time (ISO 8601).
page_before: Option<String>Cursor for the previous page.
page_after: Option<String>Cursor for the next page.
page_size: Option<u32>Number of items per page (max 50).
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
Source§impl<'de> Deserialize<'de> for PageParams
impl<'de> Deserialize<'de> for PageParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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