pub struct VariantDetect {
pub files: Vec<String>,
pub output_pattern: Option<String>,
}Expand description
Detection criteria for a filter variant.
Fields§
§files: Vec<String>File paths to check in CWD (pre-execution detection).
output_pattern: Option<String>Regex pattern to match against command output (post-execution fallback).
Trait Implementations§
Source§impl Clone for VariantDetect
impl Clone for VariantDetect
Source§fn clone(&self) -> VariantDetect
fn clone(&self) -> VariantDetect
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 moreSource§impl Debug for VariantDetect
impl Debug for VariantDetect
Source§impl<'de> Deserialize<'de> for VariantDetect
impl<'de> Deserialize<'de> for VariantDetect
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 PartialEq for VariantDetect
impl PartialEq for VariantDetect
Source§impl Serialize for VariantDetect
impl Serialize for VariantDetect
impl Eq for VariantDetect
impl StructuralPartialEq for VariantDetect
Auto Trait Implementations§
impl Freeze for VariantDetect
impl RefUnwindSafe for VariantDetect
impl Send for VariantDetect
impl Sync for VariantDetect
impl Unpin for VariantDetect
impl UnsafeUnpin for VariantDetect
impl UnwindSafe for VariantDetect
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