pub struct Task {Show 21 fields
pub odata_context: Option<Context>,
pub odata_etag: Option<Etag>,
pub odata_id: Id,
pub odata_type: Type,
pub actions: Option<Actions>,
pub description: Option<Description>,
pub end_time: Option<String>,
pub estimated_duration: Option<String>,
pub hide_payload: Option<bool>,
pub id: Id,
pub links: Option<Links>,
pub messages: Option<Vec<Message>>,
pub name: Name,
pub oem: Option<Oem>,
pub payload: Option<Payload>,
pub percent_complete: Option<i64>,
pub start_time: Option<String>,
pub sub_tasks: Option<IdRef>,
pub task_monitor: Option<String>,
pub task_state: Option<TaskState>,
pub task_status: Option<Health>,
}Expand description
The Task schema contains information about a task that the Redfish task service schedules or executes. Tasks represent operations that take more time than a client typically wants to wait.
Fields§
§odata_context: Option<Context>§odata_etag: Option<Etag>§odata_id: Id§odata_type: Type§actions: Option<Actions>§description: Option<Description>§end_time: Option<String>The date and time when the task was completed. This property will only appear when the task is complete.
estimated_duration: Option<String>The estimated total time required to complete the task.
hide_payload: Option<bool>An indication of whether the contents of the payload are hidden from view after the task has been created. If true, responses do not return the payload. If false, responses return the payload. If this property is not present when the task is created, the default is false.
id: Id§links: Option<Links>§messages: Option<Vec<Message>>An array of messages associated with the task.
name: Name§oem: Option<Oem>§payload: Option<Payload>§percent_complete: Option<i64>The completion percentage of this task.
start_time: Option<String>The date and time when the task was started.
sub_tasks: Option<IdRef>§task_monitor: Option<String>The URI of the Task Monitor for this task.
task_state: Option<TaskState>§task_status: Option<Health>