Struct aws_sdk_honeycode::types::FailedBatchItem
source · #[non_exhaustive]pub struct FailedBatchItem {
pub id: String,
pub error_message: String,
}
Expand description
A single item in a batch that failed to perform the intended action because of an error preventing it from succeeding.
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.id: String
The id of the batch item that failed. This is the batch item id for the BatchCreateTableRows and BatchUpsertTableRows operations and the row id for the BatchUpdateTableRows and BatchDeleteTableRows operations.
error_message: String
The error message that indicates why the batch item failed.
Implementations§
source§impl FailedBatchItem
impl FailedBatchItem
sourcepub fn id(&self) -> &str
pub fn id(&self) -> &str
The id of the batch item that failed. This is the batch item id for the BatchCreateTableRows and BatchUpsertTableRows operations and the row id for the BatchUpdateTableRows and BatchDeleteTableRows operations.
sourcepub fn error_message(&self) -> &str
pub fn error_message(&self) -> &str
The error message that indicates why the batch item failed.
source§impl FailedBatchItem
impl FailedBatchItem
sourcepub fn builder() -> FailedBatchItemBuilder
pub fn builder() -> FailedBatchItemBuilder
Creates a new builder-style object to manufacture FailedBatchItem
.
Trait Implementations§
source§impl Clone for FailedBatchItem
impl Clone for FailedBatchItem
source§fn clone(&self) -> FailedBatchItem
fn clone(&self) -> FailedBatchItem
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FailedBatchItem
impl Debug for FailedBatchItem
source§impl PartialEq for FailedBatchItem
impl PartialEq for FailedBatchItem
source§fn eq(&self, other: &FailedBatchItem) -> bool
fn eq(&self, other: &FailedBatchItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FailedBatchItem
Auto Trait Implementations§
impl RefUnwindSafe for FailedBatchItem
impl Send for FailedBatchItem
impl Sync for FailedBatchItem
impl Unpin for FailedBatchItem
impl UnwindSafe for FailedBatchItem
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.