Struct aws_sdk_accessanalyzer::model::JobDetails
source · [−]#[non_exhaustive]pub struct JobDetails {
pub job_id: Option<String>,
pub status: Option<JobStatus>,
pub started_on: Option<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: Option<String>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.
status: Option<JobStatus>The status of the job request.
started_on: Option<DateTime>A 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
sourceimpl JobDetails
impl JobDetails
sourcepub fn job_id(&self) -> Option<&str>
pub fn job_id(&self) -> Option<&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) -> Option<&DateTime>
pub fn started_on(&self) -> Option<&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.
sourceimpl JobDetails
impl JobDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture JobDetails
Trait Implementations
sourceimpl Clone for JobDetails
impl Clone for JobDetails
sourcefn clone(&self) -> JobDetails
fn clone(&self) -> JobDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for JobDetails
impl Debug for JobDetails
sourceimpl PartialEq<JobDetails> for JobDetails
impl PartialEq<JobDetails> for JobDetails
sourcefn eq(&self, other: &JobDetails) -> bool
fn eq(&self, other: &JobDetails) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &JobDetails) -> bool
fn ne(&self, other: &JobDetails) -> bool
This method tests for !=.
impl StructuralPartialEq for JobDetails
Auto Trait Implementations
impl RefUnwindSafe for JobDetails
impl Send for JobDetails
impl Sync for JobDetails
impl Unpin for JobDetails
impl UnwindSafe for JobDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more