pub enum LabelsFunctionOp {
Overwrite,
Extend,
Remove,
}Expand description
The operator of a SET labels(<expr>) <op> <expr> item.
Variants§
Overwrite
= – replace the full label set.
Extend
+= – add every listed label, keep existing ones.
Remove
-= – remove every listed label that is present.
Trait Implementations§
Source§impl Clone for LabelsFunctionOp
impl Clone for LabelsFunctionOp
impl Copy for LabelsFunctionOp
Source§impl Debug for LabelsFunctionOp
impl Debug for LabelsFunctionOp
impl Eq for LabelsFunctionOp
Source§impl PartialEq for LabelsFunctionOp
impl PartialEq for LabelsFunctionOp
impl StructuralPartialEq for LabelsFunctionOp
Auto Trait Implementations§
impl Forget for LabelsFunctionOp
impl Freeze for LabelsFunctionOp
impl Move for LabelsFunctionOp
impl RefUnwindSafe for LabelsFunctionOp
impl Send for LabelsFunctionOp
impl Sync for LabelsFunctionOp
impl Unpin for LabelsFunctionOp
impl UnsafeUnpin for LabelsFunctionOp
impl UnwindSafe for LabelsFunctionOp
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.