Struct aws_sdk_dataexchange::types::JobError
source · #[non_exhaustive]pub struct JobError {
pub code: Code,
pub details: Option<Details>,
pub limit_name: Option<JobErrorLimitName>,
pub limit_value: f64,
pub message: 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: CodeThe 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: StringThe 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§
source§impl 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§
source§impl PartialEq for JobError
impl PartialEq for JobError
impl StructuralPartialEq for JobError
Auto Trait Implementations§
impl Freeze for JobError
impl RefUnwindSafe for JobError
impl Send for JobError
impl Sync for JobError
impl Unpin for JobError
impl UnwindSafe for JobError
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.