Struct aws_sdk_dynamodb::types::BatchStatementError
source · #[non_exhaustive]pub struct BatchStatementError {
pub code: Option<BatchStatementErrorCodeEnum>,
pub message: Option<String>,
pub item: Option<HashMap<String, AttributeValue>>,
}
Expand description
An error associated with a statement in a PartiQL batch that was run.
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<BatchStatementErrorCodeEnum>
The error code associated with the failed PartiQL batch statement.
message: Option<String>
The error message associated with the PartiQL batch response.
item: Option<HashMap<String, AttributeValue>>
The item which caused the condition check to fail. This will be set if ReturnValuesOnConditionCheckFailure is specified as ALL_OLD
.
Implementations§
source§impl BatchStatementError
impl BatchStatementError
source§impl BatchStatementError
impl BatchStatementError
sourcepub fn builder() -> BatchStatementErrorBuilder
pub fn builder() -> BatchStatementErrorBuilder
Creates a new builder-style object to manufacture BatchStatementError
.
Trait Implementations§
source§impl Clone for BatchStatementError
impl Clone for BatchStatementError
source§fn clone(&self) -> BatchStatementError
fn clone(&self) -> BatchStatementError
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 BatchStatementError
impl Debug for BatchStatementError
source§impl PartialEq for BatchStatementError
impl PartialEq for BatchStatementError
source§fn eq(&self, other: &BatchStatementError) -> bool
fn eq(&self, other: &BatchStatementError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchStatementError
Auto Trait Implementations§
impl RefUnwindSafe for BatchStatementError
impl Send for BatchStatementError
impl Sync for BatchStatementError
impl Unpin for BatchStatementError
impl UnwindSafe for BatchStatementError
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.