pub enum AttributeAction {
Put,
Delete,
Add,
}Expand description
Action to perform on an attribute during an UpdateItem operation (legacy API).
Used with AttributeUpdates parameter. Modern applications should use
UpdateExpression instead.
Variants§
Put
Set the attribute value.
Delete
Delete the attribute (for scalars) or remove elements from a set.
Add
Add to a number or set attribute.
Implementations§
Trait Implementations§
Source§impl Clone for AttributeAction
impl Clone for AttributeAction
Source§fn clone(&self) -> AttributeAction
fn clone(&self) -> AttributeAction
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 AttributeAction
impl Debug for AttributeAction
Source§impl Default for AttributeAction
impl Default for AttributeAction
Source§fn default() -> AttributeAction
fn default() -> AttributeAction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttributeAction
impl<'de> Deserialize<'de> for AttributeAction
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
Source§impl Display for AttributeAction
impl Display for AttributeAction
Source§impl Hash for AttributeAction
impl Hash for AttributeAction
Source§impl PartialEq for AttributeAction
impl PartialEq for AttributeAction
Source§impl Serialize for AttributeAction
impl Serialize for AttributeAction
impl Eq for AttributeAction
impl StructuralPartialEq for AttributeAction
Auto Trait Implementations§
impl Freeze for AttributeAction
impl RefUnwindSafe for AttributeAction
impl Send for AttributeAction
impl Sync for AttributeAction
impl Unpin for AttributeAction
impl UnsafeUnpin for AttributeAction
impl UnwindSafe for AttributeAction
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