pub enum EditKind {
Insert,
Replace,
Remove,
}Expand description
The kind of edit to perform (AD-004).
Variants§
Insert
Insert the payload immediately before the target, keeping the target.
Replace
Replace the target with the payload.
Remove
Remove the target (payload is ignored / must be absent).
Trait Implementations§
impl Copy for EditKind
impl Eq for EditKind
impl StructuralPartialEq for EditKind
Auto Trait Implementations§
impl Freeze for EditKind
impl RefUnwindSafe for EditKind
impl Send for EditKind
impl Sync for EditKind
impl Unpin for EditKind
impl UnsafeUnpin for EditKind
impl UnwindSafe for EditKind
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