pub enum TagOperation {
Add(String),
Remove(String),
Replace {
old: String,
new: String,
},
}Expand description
Tag operation to perform.
Variants§
Add(String)
Add tags to notes.
Remove(String)
Remove tags from notes.
Replace
Replace one tag with another.
Trait Implementations§
Source§impl Clone for TagOperation
impl Clone for TagOperation
Source§fn clone(&self) -> TagOperation
fn clone(&self) -> TagOperation
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 TagOperation
impl RefUnwindSafe for TagOperation
impl Send for TagOperation
impl Sync for TagOperation
impl Unpin for TagOperation
impl UnwindSafe for TagOperation
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