pub struct CancellationReason {
pub code: String,
pub message: Option<String>,
pub item: Option<HashMap<String, AttributeValue>>,
}Expand description
Per-item cancellation reason in a TransactionCanceledException response.
Real DynamoDB returns one reason per TransactItem, with Code: "None" for
items that would have succeeded.
Fields§
§code: String§message: Option<String>§item: Option<HashMap<String, AttributeValue>>Trait Implementations§
Source§impl Clone for CancellationReason
impl Clone for CancellationReason
Source§fn clone(&self) -> CancellationReason
fn clone(&self) -> CancellationReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CancellationReason
impl Debug for CancellationReason
Source§impl Default for CancellationReason
impl Default for CancellationReason
Source§fn default() -> CancellationReason
fn default() -> CancellationReason
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CancellationReason
impl RefUnwindSafe for CancellationReason
impl Send for CancellationReason
impl Sync for CancellationReason
impl Unpin for CancellationReason
impl UnsafeUnpin for CancellationReason
impl UnwindSafe for CancellationReason
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