pub enum TransformOperation {
Replace,
Add,
Remove,
}Expand description
Transform operation type
Variants§
Replace
Replace the value at the path
Add
Add a new field at the path
Remove
Remove the field at the path
Trait Implementations§
Source§impl Clone for TransformOperation
impl Clone for TransformOperation
Source§fn clone(&self) -> TransformOperation
fn clone(&self) -> TransformOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TransformOperation
impl Debug for TransformOperation
Source§impl Default for TransformOperation
impl Default for TransformOperation
Source§fn default() -> TransformOperation
fn default() -> TransformOperation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransformOperation
impl<'de> Deserialize<'de> for TransformOperation
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 PartialEq for TransformOperation
impl PartialEq for TransformOperation
Source§fn eq(&self, other: &TransformOperation) -> bool
fn eq(&self, other: &TransformOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TransformOperation
impl Serialize for TransformOperation
impl Copy for TransformOperation
impl Eq for TransformOperation
impl StructuralPartialEq for TransformOperation
Auto Trait Implementations§
impl Freeze for TransformOperation
impl RefUnwindSafe for TransformOperation
impl Send for TransformOperation
impl Sync for TransformOperation
impl Unpin for TransformOperation
impl UnsafeUnpin for TransformOperation
impl UnwindSafe for TransformOperation
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§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.