Struct redfish_codegen::models::task_service::v1_2_0::TaskService
source · pub struct TaskService {Show 16 fields
pub odata_context: Option<Context>,
pub odata_etag: Option<Etag>,
pub odata_id: Id,
pub odata_type: MustBeStr<(char<{ _ }>, (T, a, s, k, S, e), (r, v, i, c, e, char<{ _ }>), (v, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>), (char<{ _ }>, T, a, s, k, S), (e, r, v, i, c, e))>,
pub actions: Option<Actions>,
pub completed_task_over_write_policy: Option<OverWritePolicy>,
pub date_time: Option<String>,
pub description: Option<Description>,
pub id: Id,
pub life_cycle_event_on_task_state_change: Option<bool>,
pub name: Name,
pub oem: Option<Oem>,
pub service_enabled: Option<bool>,
pub status: Option<Status>,
pub task_auto_delete_timeout_minutes: Option<i64>,
pub tasks: Option<IdRef>,
}
Expand description
The TaskService schema describes a task service that enables management of long-duration operations, includes the properties for the task service itself, and has links to the resource collection of tasks.
Fields§
§odata_context: Option<Context>
§odata_etag: Option<Etag>
§odata_id: Id
§odata_type: MustBeStr<(char<{ _ }>, (T, a, s, k, S, e), (r, v, i, c, e, char<{ _ }>), (v, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>), (char<{ _ }>, T, a, s, k, S), (e, r, v, i, c, e))>
§actions: Option<Actions>
§completed_task_over_write_policy: Option<OverWritePolicy>
§date_time: Option<String>
The current date and time, with UTC offset, setting that the task service uses.
description: Option<Description>
§id: Id
§life_cycle_event_on_task_state_change: Option<bool>
An indication of whether a task state change sends an event.
name: Name
§oem: Option<Oem>
§service_enabled: Option<bool>
An indication of whether this service is enabled.
status: Option<Status>
§task_auto_delete_timeout_minutes: Option<i64>
The number of minutes after which a completed task is deleted by the service.
tasks: Option<IdRef>
Trait Implementations§
source§impl Clone for TaskService
impl Clone for TaskService
source§fn clone(&self) -> TaskService
fn clone(&self) -> TaskService
Returns a copy of the value. Read more
1.0.0 · 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 TaskService
impl Debug for TaskService
source§impl Default for TaskService
impl Default for TaskService
source§fn default() -> TaskService
fn default() -> TaskService
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TaskService
impl<'de> Deserialize<'de> for TaskService
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