pub enum Op {
Add {
name: String,
content: String,
aliases: Vec<String>,
kind: EntryKind,
},
Update {
name: String,
content: String,
aliases: Vec<String>,
},
Alias {
name: String,
aliases: Vec<String>,
},
Remove {
name: String,
},
}Expand description
Write operations. Update rewrites content and aliases but preserves
kind — an archive stays an archive for life. Use Remove + Add to
change kind.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze 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