pub struct Task {Show 20 fields
pub id: String,
pub name: String,
pub org_id: String,
pub flux: String,
pub owner_id: Option<String>,
pub org: Option<String>,
pub status: Option<TaskStatusType>,
pub type_: Option<String>,
pub authorization_id: Option<String>,
pub description: Option<String>,
pub cron: Option<String>,
pub every: Option<String>,
pub last_run_error: Option<String>,
pub last_run_status: Option<String>,
pub latest_completed: Option<String>,
pub offset: Option<String>,
pub links: Option<TaskLinks>,
pub labels: Vec<Label>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
}Expand description
Task schema
Fields§
§id: StringTask ID
name: StringTask name
org_id: StringThe ID of the organization that owns this task
flux: StringThe FLUX script to run this task
owner_id: Option<String>The ID of the user who owns this task
org: Option<String>The name of the organization that owns this task
status: Option<TaskStatusType>Task status
type_: Option<String>The type of task, this can be used for filtering tasks on list actions.
The ID of the authorization used when this task communicates with the query engine
description: Option<String>An optional description of the task
cron: Option<String>A task repetition schedule in the form ‘* * * * * *’, parsed from Flux
every: Option<String>A simple task repetition schedule, parsed from Flux
last_run_error: Option<String>Task error on last run
last_run_status: Option<String>Status of task on last run
latest_completed: Option<String>Timestamp of latest scheduled, completed run, RFC3339
offset: Option<String>Duration to delay after the schedule, before executing the task; parsed from flux
links: Option<TaskLinks>Links
labels: Vec<Label>Task Labels
created_at: Option<String>Task created timestamp
updated_at: Option<String>Task updated timestamp