pub enum DetectOperation {
Generate,
Refactor,
}Expand description
Available operations for a detected opportunity
Variants§
Trait Implementations§
Source§impl Clone for DetectOperation
impl Clone for DetectOperation
Source§fn clone(&self) -> DetectOperation
fn clone(&self) -> DetectOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DetectOperation
impl Debug for DetectOperation
Source§impl<'de> Deserialize<'de> for DetectOperation
impl<'de> Deserialize<'de> for DetectOperation
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
Source§impl Hash for DetectOperation
impl Hash for DetectOperation
Source§impl PartialEq for DetectOperation
impl PartialEq for DetectOperation
Source§fn eq(&self, other: &DetectOperation) -> bool
fn eq(&self, other: &DetectOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DetectOperation
impl Serialize for DetectOperation
impl Copy for DetectOperation
impl Eq for DetectOperation
impl StructuralPartialEq for DetectOperation
Auto Trait Implementations§
impl Freeze for DetectOperation
impl RefUnwindSafe for DetectOperation
impl Send for DetectOperation
impl Sync for DetectOperation
impl Unpin for DetectOperation
impl UnsafeUnpin for DetectOperation
impl UnwindSafe for DetectOperation
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