#[non_exhaustive]pub enum ApplyLabelMode {
Add,
Replace,
Remove,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ApplyLabelMode
impl Clone for ApplyLabelMode
Source§impl Debug for ApplyLabelMode
impl Debug for ApplyLabelMode
Source§impl<'de> Deserialize<'de> for ApplyLabelMode
impl<'de> Deserialize<'de> for ApplyLabelMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ApplyLabelMode
Source§impl PartialEq for ApplyLabelMode
impl PartialEq for ApplyLabelMode
Source§impl Serialize for ApplyLabelMode
impl Serialize for ApplyLabelMode
impl StructuralPartialEq for ApplyLabelMode
Auto Trait Implementations§
impl Forget for ApplyLabelMode
impl Freeze for ApplyLabelMode
impl Move for ApplyLabelMode
impl RefUnwindSafe for ApplyLabelMode
impl Send for ApplyLabelMode
impl Sync for ApplyLabelMode
impl Unpin for ApplyLabelMode
impl UnsafeUnpin for ApplyLabelMode
impl UnwindSafe for ApplyLabelMode
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