Struct aws_sdk_s3control::types::JobListDescriptor
source · #[non_exhaustive]pub struct JobListDescriptor {
pub job_id: Option<String>,
pub description: Option<String>,
pub operation: Option<OperationName>,
pub priority: i32,
pub status: Option<JobStatus>,
pub creation_time: Option<DateTime>,
pub termination_date: Option<DateTime>,
pub progress_summary: Option<JobProgressSummary>,
}
Expand description
Contains the configuration and status information for a single job retrieved as part of a job list.
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: Option<String>
The ID for the specified job.
description: Option<String>
The user-specified description that was included in the specified job's Create Job
request.
operation: Option<OperationName>
The operation that the specified job is configured to run on every object listed in the manifest.
priority: i32
The current priority for the specified job.
status: Option<JobStatus>
The specified job's current status.
creation_time: Option<DateTime>
A timestamp indicating when the specified job was created.
termination_date: Option<DateTime>
A timestamp indicating when the specified job terminated. A job's termination date is the date and time when it succeeded, failed, or was canceled.
progress_summary: Option<JobProgressSummary>
Describes the total number of tasks that the specified job has run, the number of tasks that succeeded, and the number of tasks that failed.
Implementations§
source§impl JobListDescriptor
impl JobListDescriptor
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The user-specified description that was included in the specified job's Create Job
request.
sourcepub fn operation(&self) -> Option<&OperationName>
pub fn operation(&self) -> Option<&OperationName>
The operation that the specified job is configured to run on every object listed in the manifest.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
A timestamp indicating when the specified job was created.
sourcepub fn termination_date(&self) -> Option<&DateTime>
pub fn termination_date(&self) -> Option<&DateTime>
A timestamp indicating when the specified job terminated. A job's termination date is the date and time when it succeeded, failed, or was canceled.
sourcepub fn progress_summary(&self) -> Option<&JobProgressSummary>
pub fn progress_summary(&self) -> Option<&JobProgressSummary>
Describes the total number of tasks that the specified job has run, the number of tasks that succeeded, and the number of tasks that failed.
source§impl JobListDescriptor
impl JobListDescriptor
sourcepub fn builder() -> JobListDescriptorBuilder
pub fn builder() -> JobListDescriptorBuilder
Creates a new builder-style object to manufacture JobListDescriptor
.
Trait Implementations§
source§impl Clone for JobListDescriptor
impl Clone for JobListDescriptor
source§fn clone(&self) -> JobListDescriptor
fn clone(&self) -> JobListDescriptor
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobListDescriptor
impl Debug for JobListDescriptor
source§impl PartialEq for JobListDescriptor
impl PartialEq for JobListDescriptor
source§fn eq(&self, other: &JobListDescriptor) -> bool
fn eq(&self, other: &JobListDescriptor) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for JobListDescriptor
Auto Trait Implementations§
impl Freeze for JobListDescriptor
impl RefUnwindSafe for JobListDescriptor
impl Send for JobListDescriptor
impl Sync for JobListDescriptor
impl Unpin for JobListDescriptor
impl UnwindSafe for JobListDescriptor
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more