pub enum Op {
Set(String, NewValue),
Add(String, NewValue),
Del(String),
}Expand description
One edit for edit. Paths are the --get paths of the decoded tree.
Variants§
Set(String, NewValue)
Change the protobuf field, CBOR/MessagePack value or DER element at the path.
Add(String, NewValue)
Add: a protobuf field PARENT.N (appended to the parent message, or
the top-level message for N), a CBOR/MessagePack map key or array
index (inserted there; an index equal to the length appends), or a DER
element index (inserted; the value is one complete element as
hex:/b64:).
Del(String)
Remove the field, value or element at the path.
Trait Implementations§
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 Opwhere
RawVecInner: Send,
impl Sync for Opwhere
RawVecInner: Sync,
impl Unpin for Op
impl UnsafeUnpin for Op
impl UnwindSafe for Opwhere
RawVecInner: UnwindSafe,
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