pub enum Modification {
Set(DataType),
Apply(Operation, DataType),
None,
}
Expand description
A modification to make to a column in an existing row.
Variants§
Set(DataType)
Set the cell to this value.
Apply(Operation, DataType)
Use the given Operation
to combine the existing value and this one.
None
Leave the existing value as-is.
Trait Implementations§
Source§impl Clone for Modification
impl Clone for Modification
Source§fn clone(&self) -> Modification
fn clone(&self) -> Modification
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 Modification
impl Debug for Modification
Source§impl<'de> Deserialize<'de> for Modification
impl<'de> Deserialize<'de> for Modification
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<T> From<T> for Modification
impl<T> From<T> for Modification
Source§fn from(t: T) -> Modification
fn from(t: T) -> Modification
Converts to this type from the input type.
Source§impl PartialEq for Modification
impl PartialEq for Modification
Source§impl Serialize for Modification
impl Serialize for Modification
impl Eq for Modification
impl StructuralPartialEq for Modification
Auto Trait Implementations§
impl Freeze for Modification
impl RefUnwindSafe for Modification
impl Send for Modification
impl Sync for Modification
impl Unpin for Modification
impl UnwindSafe for Modification
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.