pub enum Op {
Set(Value),
Append(Vec<String>),
Remove(Vec<String>),
Replace(Vec<String>),
Clear,
}Expand description
What an edit does to its field.
Variants§
Set(Value)
Set a single value.
Append(Vec<String>)
Add these entries to the end of a list, skipping any already there.
Remove(Vec<String>)
Take these entries out of a list.
Replace(Vec<String>)
Replace the list with these entries.
Clear
Unset the list.
Implementations§
Trait Implementations§
impl Eq for Op
impl StructuralPartialEq for Op
Auto Trait Implementations§
impl Forget for Op
impl Freeze for Op
impl Move for Op
impl RefUnwindSafe for Op
impl Send for Op
impl Sync for Op
impl Unpin for Op
impl UnsafeUnpin for Op
impl UnwindSafe for Op
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