Struct aws_sdk_drs::types::Job
source · #[non_exhaustive]pub struct Job {
pub job_id: String,
pub arn: Option<String>,
pub type: Option<JobType>,
pub initiated_by: Option<InitiatedBy>,
pub creation_date_time: Option<String>,
pub end_date_time: Option<String>,
pub status: Option<JobStatus>,
pub participating_servers: Option<Vec<ParticipatingServer>>,
pub tags: Option<HashMap<String, String>>,
pub participating_resources: Option<Vec<ParticipatingResource>>,
}Expand description
A job is an asynchronous workflow.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.job_id: StringThe ID of the Job.
arn: Option<String>The ARN of a Job.
type: Option<JobType>The type of the Job.
initiated_by: Option<InitiatedBy>A string representing who initiated the Job.
creation_date_time: Option<String>The date and time of when the Job was created.
end_date_time: Option<String>The date and time of when the Job ended.
status: Option<JobStatus>The status of the Job.
participating_servers: Option<Vec<ParticipatingServer>>A list of servers that the Job is acting upon.
A list of tags associated with the Job.
participating_resources: Option<Vec<ParticipatingResource>>A list of resources that the Job is acting upon.
Implementations§
source§impl Job
impl Job
sourcepub fn initiated_by(&self) -> Option<&InitiatedBy>
pub fn initiated_by(&self) -> Option<&InitiatedBy>
A string representing who initiated the Job.
sourcepub fn creation_date_time(&self) -> Option<&str>
pub fn creation_date_time(&self) -> Option<&str>
The date and time of when the Job was created.
sourcepub fn end_date_time(&self) -> Option<&str>
pub fn end_date_time(&self) -> Option<&str>
The date and time of when the Job ended.
sourcepub fn participating_servers(&self) -> &[ParticipatingServer]
pub fn participating_servers(&self) -> &[ParticipatingServer]
A list of servers that the Job is acting upon.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .participating_servers.is_none().
A list of tags associated with the Job.
sourcepub fn participating_resources(&self) -> &[ParticipatingResource]
pub fn participating_resources(&self) -> &[ParticipatingResource]
A list of resources that the Job is acting upon.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .participating_resources.is_none().