pub enum TransformOperation {
Trim {
field: String,
},
Lowercase {
field: String,
},
Uppercase {
field: String,
},
Rename {
from: String,
to: String,
},
Remove {
field: String,
},
Set {
field: String,
value: Value,
},
SetDefault {
field: String,
value: Value,
},
}Expand description
Built-in transformation operations for top-level object fields.
Variants§
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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