pub struct CancellationReason {
pub code: Option<String>,
pub item: Option<HashMap<String, AttributeValue>>,
pub message: Option<String>,
}
Expand description
An ordered list of errors for each item in the request which caused the transaction to get cancelled. The values of the list are ordered according to the ordering of the TransactWriteItems
request parameter. If no error occurred for the associated item an error with a Null code and Null message will be present.
Fields§
§code: Option<String>
Status code for the result of the cancelled transaction.
item: Option<HashMap<String, AttributeValue>>
Item in the request which caused the transaction to get cancelled.
message: Option<String>
Cancellation reason message description.
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 · 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
Source§impl PartialEq for CancellationReason
impl PartialEq for CancellationReason
impl StructuralPartialEq for CancellationReason
Auto Trait Implementations§
impl Freeze for CancellationReason
impl RefUnwindSafe for CancellationReason
impl Send for CancellationReason
impl Sync for CancellationReason
impl Unpin 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