Struct redfish_codegen::models::job_service::v1_0_4::JobService
source · pub struct JobService {Show 15 fields
pub odata_context: Option<Context>,
pub odata_etag: Option<Etag>,
pub odata_id: Id,
pub odata_type: MustBeStr<(char<{ _ }>, (J, o, b, S), (e, r, v, i, c, e), (char<{ _ }>, v, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>), (char<{ _ }>, char<{ _ }>, J, o, b, S), (e, r, v, i, c, e))>,
pub actions: Option<Actions>,
pub date_time: Option<String>,
pub description: Option<Description>,
pub id: Id,
pub jobs: Option<IdRef>,
pub log: Option<IdRef>,
pub name: Name,
pub oem: Option<Oem>,
pub service_capabilities: Option<JobServiceCapabilities>,
pub service_enabled: Option<bool>,
pub status: Option<Status>,
}
Expand description
The JobService schema contains properties for scheduling and execution of operations, represents the properties for the job service itself, and has links to jobs managed by the job service.
Fields§
§odata_context: Option<Context>
§odata_etag: Option<Etag>
§odata_id: Id
§odata_type: MustBeStr<(char<{ _ }>, (J, o, b, S), (e, r, v, i, c, e), (char<{ _ }>, v, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>), (char<{ _ }>, char<{ _ }>, J, o, b, S), (e, r, v, i, c, e))>
§actions: Option<Actions>
§date_time: Option<String>
The current date and time setting for the job service.
description: Option<Description>
§id: Id
§jobs: Option<IdRef>
§log: Option<IdRef>
§name: Name
§oem: Option<Oem>
§service_capabilities: Option<JobServiceCapabilities>
§service_enabled: Option<bool>
An indication of whether this service is enabled.
status: Option<Status>
Trait Implementations§
source§impl Clone for JobService
impl Clone for JobService
source§fn clone(&self) -> JobService
fn clone(&self) -> JobService
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 JobService
impl Debug for JobService
source§impl Default for JobService
impl Default for JobService
source§fn default() -> JobService
fn default() -> JobService
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for JobService
impl<'de> Deserialize<'de> for JobService
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