pub struct LastRunOptions {
pub status: Option<String>,
pub origin: Option<String>,
}Expand description
Options for fetching an Actor’s or task’s last run
(crate::clients::actor::ActorClient::last_run_with_options /
crate::clients::task::TaskClient::last_run_with_options).
Both are sent as query parameters to the last-run endpoints
(GET /v2/actors/{actorId}/runs/last, GET /v2/actor-tasks/{actorTaskId}/runs/last).
status is the spec’s documented optional filter on those endpoints; origin is not declared
by the OpenAPI spec and is exposed only for parity with the reference client’s
lastRun({ status, origin }).
Fields§
§status: Option<String>Filter by run status (e.g. "SUCCEEDED", "FAILED", "RUNNING"). None leaves it
unfiltered.
origin: Option<String>Filter by how the run was started; accepted values are the platform’s run origins
(e.g. "DEVELOPMENT", "WEB", "API", "SCHEDULER"). None leaves it unfiltered.
Trait Implementations§
Source§impl Clone for LastRunOptions
impl Clone for LastRunOptions
Source§fn clone(&self) -> LastRunOptions
fn clone(&self) -> LastRunOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more