pub struct CancellationReason {
pub code: Option<String>,
pub message: Option<String>,
pub item: Option<HashMap<String, AttributeValue>>,
}Expand description
A reason why a transaction item was cancelled.
Fields§
§code: Option<String>The cancellation reason code.
message: Option<String>A human-readable cancellation reason message.
item: Option<HashMap<String, AttributeValue>>The item that failed the condition check, if applicable.
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<'de> Deserialize<'de> for CancellationReason
impl<'de> Deserialize<'de> for CancellationReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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