pub struct RunListOptions {
pub status: Vec<String>,
pub started_after: Option<String>,
pub started_before: Option<String>,
}Expand description
Filtering options for RunCollectionClient::list, covering the spec query parameters of
GET /v2/actor-runs and GET /v2/actors/{actorId}/runs.
As in the reference client, the same options type is reused for the task-scoped run
collection (GET /v2/actor-tasks/{actorTaskId}/runs), whose spec does not define
startedAfter/startedBefore; those params are simply ignored server-side when set on a
task-scoped list. This deliberate reference-parity reuse keeps the API surface uniform.
Fields§
§status: Vec<String>Only return runs with one of these statuses (e.g. SUCCEEDED, RUNNING). The API
accepts multiple statuses; they are sent as a comma-separated list. Empty means no
status filter. Matches the reference client, whose status accepts a string or array.
started_after: Option<String>Only return runs started at or after this ISO 8601 timestamp. (Actor-scoped lists only.)
started_before: Option<String>Only return runs started at or before this ISO 8601 timestamp. (Actor-scoped lists only.)
Trait Implementations§
Source§impl Clone for RunListOptions
impl Clone for RunListOptions
Source§fn clone(&self) -> RunListOptions
fn clone(&self) -> RunListOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more