pub struct ExtraRule {
pub name: String,
pub trigger: ExtraRuleTrigger,
pub include_suites: Vec<SuiteRefSpec>,
pub include_suite_templates: Vec<String>,
pub line_match: Option<LineMatch>,
pub include_suite_for_dep_modules: bool,
}Expand description
User-configured rule. Accepts both the literal include_suites
(application + module) and templated module names that resolve named
regex captures from the trigger pattern (e.g. {plugin}_config_schema_SUITE).
Templated includes look up the suite by module name across all
discovered applications.
Fields§
§name: String§trigger: ExtraRuleTrigger§include_suites: Vec<SuiteRefSpec>§include_suite_templates: Vec<String>§line_match: Option<LineMatch>§include_suite_for_dep_modules: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for ExtraRule
impl<'de> Deserialize<'de> for ExtraRule
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 ExtraRule
impl StructuralPartialEq for ExtraRule
Auto Trait Implementations§
impl Forget for ExtraRule
impl Freeze for ExtraRule
impl Move for ExtraRule
impl RefUnwindSafe for ExtraRule
impl Send for ExtraRule
impl Sync for ExtraRule
impl Unpin for ExtraRule
impl UnsafeUnpin for ExtraRule
impl UnwindSafe for ExtraRule
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