pub struct ListRunsParams {
pub limit: Option<u32>,
pub order: Option<String>,
pub after: Option<String>,
pub before: Option<String>,
}Expand description
Parameters for listing runs
Fields§
§limit: Option<u32>A limit on the number of objects to be returned (1-100, default 20)
order: Option<String>Sort order by the created_at timestamp (asc or desc, default desc)
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
Implementations§
Source§impl ListRunsParams
impl ListRunsParams
Sourcepub fn to_query_params(&self) -> Vec<(String, String)>
pub fn to_query_params(&self) -> Vec<(String, String)>
Build query parameters for the API request
Trait Implementations§
Source§impl Clone for ListRunsParams
impl Clone for ListRunsParams
Source§fn clone(&self) -> ListRunsParams
fn clone(&self) -> ListRunsParams
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 ListRunsParams
impl Debug for ListRunsParams
Source§impl Default for ListRunsParams
impl Default for ListRunsParams
Source§impl<'de> Deserialize<'de> for ListRunsParams
impl<'de> Deserialize<'de> for ListRunsParams
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 ListRunsParams
impl PartialEq for ListRunsParams
Source§impl Serialize for ListRunsParams
impl Serialize for ListRunsParams
impl StructuralPartialEq for ListRunsParams
Auto Trait Implementations§
impl Freeze for ListRunsParams
impl RefUnwindSafe for ListRunsParams
impl Send for ListRunsParams
impl Sync for ListRunsParams
impl Unpin for ListRunsParams
impl UnwindSafe for ListRunsParams
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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