pub struct TaskService {Show 16 fields
pub odata_context: Option<Context>,
pub odata_etag: Option<Etag>,
pub odata_id: Id,
pub odata_type: Type,
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: Type
§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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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§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
Source§impl Metadata<'static> for TaskService
impl Metadata<'static> for TaskService
Source§const JSON_SCHEMA: &'static str = "TaskService.v1_2_0.json"
const JSON_SCHEMA: &'static str = "TaskService.v1_2_0.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for TaskService
impl RefUnwindSafe for TaskService
impl Send for TaskService
impl Sync for TaskService
impl Unpin for TaskService
impl UnwindSafe for TaskService
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more