pub struct CompiledRuleSpec {Show 15 fields
pub rule_id: String,
pub severity: RuleSeverity,
pub lang: String,
pub root: String,
pub subject: String,
pub plan: String,
pub capabilities: Vec<String>,
pub group_by: Vec<String>,
pub domain: String,
pub kind: Option<String>,
pub expr: String,
pub expanded_expr: String,
pub message: Option<String>,
pub rationale: Option<String>,
pub require_doc_comment: Option<String>,
}Fields§
§rule_id: String§severity: RuleSeverity§lang: String§root: String§subject: String§plan: String§capabilities: Vec<String>§group_by: Vec<String>§domain: String§kind: Option<String>§expr: String§expanded_expr: String§message: Option<String>§rationale: Option<String>§require_doc_comment: Option<String>Trait Implementations§
Source§impl Clone for CompiledRuleSpec
impl Clone for CompiledRuleSpec
Source§fn clone(&self) -> CompiledRuleSpec
fn clone(&self) -> CompiledRuleSpec
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 CompiledRuleSpec
impl Debug for CompiledRuleSpec
Auto Trait Implementations§
impl Freeze for CompiledRuleSpec
impl RefUnwindSafe for CompiledRuleSpec
impl Send for CompiledRuleSpec
impl Sync for CompiledRuleSpec
impl Unpin for CompiledRuleSpec
impl UnsafeUnpin for CompiledRuleSpec
impl UnwindSafe for CompiledRuleSpec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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