pub struct TransactWriteItem {
pub condition_check: Option<ConditionCheck>,
pub put: Option<TransactPut>,
pub delete: Option<TransactDelete>,
pub update: Option<TransactUpdate>,
}Expand description
A single write action within a TransactWriteItems request.
Exactly one of the four fields must be set.
Fields§
§condition_check: Option<ConditionCheck>A condition check against an existing item (no mutation).
put: Option<TransactPut>A put (insert or replace) action.
delete: Option<TransactDelete>A delete action.
update: Option<TransactUpdate>An update action.
Trait Implementations§
Source§impl Clone for TransactWriteItem
impl Clone for TransactWriteItem
Source§fn clone(&self) -> TransactWriteItem
fn clone(&self) -> TransactWriteItem
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 TransactWriteItem
impl Debug for TransactWriteItem
Source§impl<'de> Deserialize<'de> for TransactWriteItem
impl<'de> Deserialize<'de> for TransactWriteItem
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 TransactWriteItem
impl RefUnwindSafe for TransactWriteItem
impl Send for TransactWriteItem
impl Sync for TransactWriteItem
impl Unpin for TransactWriteItem
impl UnsafeUnpin for TransactWriteItem
impl UnwindSafe for TransactWriteItem
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