pub struct RootCompiledRule {
pub inner: Box<dyn CompiledRule>,
pub scope: Scope,
pub match_action: MatchAction,
pub match_validation_type: Option<MatchValidationType>,
pub suppressions: Option<CompiledSuppressions>,
}Fields§
§inner: Box<dyn CompiledRule>§scope: Scope§match_action: MatchAction§match_validation_type: Option<MatchValidationType>§suppressions: Option<CompiledSuppressions>Implementations§
Source§impl RootCompiledRule
impl RootCompiledRule
pub fn internal_match_validation_type( &self, ) -> Option<InternalMatchValidationType>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RootCompiledRule
impl !RefUnwindSafe for RootCompiledRule
impl Send for RootCompiledRule
impl Sync for RootCompiledRule
impl Unpin for RootCompiledRule
impl !UnwindSafe for RootCompiledRule
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more