pub struct ListParameters {
pub limit: Option<u32>,
pub order: Option<String>,
pub after: Option<String>,
pub before: Option<String>,
}Fields§
§limit: Option<u32>A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
order: Option<String>Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.
after: Option<String>A cursor for use in pagination. after is an object ID that defines your place in the list.
before: Option<String>A cursor for use in pagination. before is an object ID that defines your place in the list.
Trait Implementations§
Source§impl Clone for ListParameters
impl Clone for ListParameters
Source§fn clone(&self) -> ListParameters
fn clone(&self) -> ListParameters
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 ListParameters
impl Debug for ListParameters
Source§impl<'de> Deserialize<'de> for ListParameters
impl<'de> Deserialize<'de> for ListParameters
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
Source§impl PartialEq for ListParameters
impl PartialEq for ListParameters
Source§impl Serialize for ListParameters
impl Serialize for ListParameters
impl StructuralPartialEq for ListParameters
Auto Trait Implementations§
impl Freeze for ListParameters
impl RefUnwindSafe for ListParameters
impl Send for ListParameters
impl Sync for ListParameters
impl Unpin for ListParameters
impl UnwindSafe for ListParameters
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