Struct aws_sdk_dataexchange::model::JobError
source · [−]#[non_exhaustive]pub struct JobError {
pub code: Option<Code>,
pub details: Option<Details>,
pub limit_name: Option<JobErrorLimitName>,
pub limit_value: f64,
pub message: Option<String>,
pub resource_id: Option<String>,
pub resource_type: Option<JobErrorResourceTypes>,
}Expand description
An error that occurred with the job request.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.code: Option<Code>The code for the job error.
details: Option<Details>The details about the job error.
limit_name: Option<JobErrorLimitName>The name of the limit that was reached.
limit_value: f64The value of the exceeded limit.
message: Option<String>The message related to the job error.
resource_id: Option<String>The unique identifier for the resource related to the error.
resource_type: Option<JobErrorResourceTypes>The type of resource related to the error.
Implementations
sourceimpl JobError
impl JobError
sourcepub fn limit_name(&self) -> Option<&JobErrorLimitName>
pub fn limit_name(&self) -> Option<&JobErrorLimitName>
The name of the limit that was reached.
sourcepub fn limit_value(&self) -> f64
pub fn limit_value(&self) -> f64
The value of the exceeded limit.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The unique identifier for the resource related to the error.
sourcepub fn resource_type(&self) -> Option<&JobErrorResourceTypes>
pub fn resource_type(&self) -> Option<&JobErrorResourceTypes>
The type of resource related to the error.
Trait Implementations
impl StructuralPartialEq for JobError
Auto Trait Implementations
impl RefUnwindSafe for JobError
impl Send for JobError
impl Sync for JobError
impl Unpin for JobError
impl UnwindSafe for JobError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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> 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