pub enum UpdateAction {
Replace,
Append,
Remove,
Null,
}Expand description
Type of data change
Variants§
Replace
Replace old values with new values
Append
Append new values to old values (assumes multi-valued)
Remove
Removes value(s)
Null
No update action
Trait Implementations§
Source§impl Clone for UpdateAction
impl Clone for UpdateAction
Source§fn clone(&self) -> UpdateAction
fn clone(&self) -> UpdateAction
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 UpdateAction
impl Debug for UpdateAction
Source§impl<'de> Deserialize<'de> for UpdateAction
impl<'de> Deserialize<'de> for UpdateAction
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 UpdateAction
impl Display for UpdateAction
Source§impl From<char> for UpdateAction
Converts character (‘=’, ‘+’, ‘-’) to UpdateAction (Replace, Append, Remove)
any other char maps to Null
impl From<char> for UpdateAction
Converts character (‘=’, ‘+’, ‘-’) to UpdateAction (Replace, Append, Remove) any other char maps to Null
Source§impl PartialEq for UpdateAction
impl PartialEq for UpdateAction
Source§impl Serialize for UpdateAction
impl Serialize for UpdateAction
impl Copy for UpdateAction
impl StructuralPartialEq for UpdateAction
Auto Trait Implementations§
impl Freeze for UpdateAction
impl RefUnwindSafe for UpdateAction
impl Send for UpdateAction
impl Sync for UpdateAction
impl Unpin for UpdateAction
impl UnwindSafe for UpdateAction
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