Struct aws_sdk_accessanalyzer::types::JobDetails
source · #[non_exhaustive]pub struct JobDetails {
pub job_id: String,
pub status: JobStatus,
pub started_on: DateTime,
pub completed_on: Option<DateTime>,
pub job_error: Option<JobError>,
}Expand description
Contains details about the policy generation request.
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 JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.
status: JobStatusThe status of the job request.
started_on: DateTimeA timestamp of when the job was started.
completed_on: Option<DateTime>A timestamp of when the job was completed.
job_error: Option<JobError>The job error for the policy generation request.
Implementations§
source§impl JobDetails
impl JobDetails
sourcepub fn job_id(&self) -> &str
pub fn job_id(&self) -> &str
The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.
sourcepub fn started_on(&self) -> &DateTime
pub fn started_on(&self) -> &DateTime
A timestamp of when the job was started.
sourcepub fn completed_on(&self) -> Option<&DateTime>
pub fn completed_on(&self) -> Option<&DateTime>
A timestamp of when the job was completed.
source§impl JobDetails
impl JobDetails
sourcepub fn builder() -> JobDetailsBuilder
pub fn builder() -> JobDetailsBuilder
Creates a new builder-style object to manufacture JobDetails.
Trait Implementations§
source§impl Clone for JobDetails
impl Clone for JobDetails
source§fn clone(&self) -> JobDetails
fn clone(&self) -> JobDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for JobDetails
impl Debug for JobDetails
source§impl PartialEq for JobDetails
impl PartialEq for JobDetails
source§fn eq(&self, other: &JobDetails) -> bool
fn eq(&self, other: &JobDetails) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for JobDetails
Auto Trait Implementations§
impl Freeze for JobDetails
impl RefUnwindSafe for JobDetails
impl Send for JobDetails
impl Sync for JobDetails
impl Unpin for JobDetails
impl UnwindSafe for JobDetails
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