pub struct ListRunsParams {
pub agent_id: Option<String>,
pub session_id: Option<String>,
pub status: Option<String>,
pub limit: Option<i64>,
pub cursor: Option<String>,
pub order: Option<ListRunsOrder>,
}Expand description
Query and header parameters for listRuns.
Fields§
§agent_id: Option<String>§session_id: Option<String>§status: Option<String>§limit: Option<i64>§cursor: Option<String>§order: Option<ListRunsOrder>desc (default) newest first, asc oldest first. Any other value is a 400 rather than a
silent default, so a typo surfaces as an error instead of as plausible-looking data.
Use asc instead of paging toward the end: the cursor is opaque, so there is no way to jump
to the far end, but asc puts that end on page one.
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 (const: unstable) · 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§fn default() -> ListRunsParams
fn default() -> ListRunsParams
Returns the “default value” for a type. Read more
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 UnsafeUnpin for ListRunsParams
impl UnwindSafe for ListRunsParams
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