pub struct RuleView {
pub description: Option<String>,
pub id: Option<String>,
pub name: Option<String>,
pub severity: Option<String>,
}Fields§
§description: Option<String>what kind of secret this rule recognises
id: Option<String>the rule identifier a finding cites
name: Option<String>the rule’s human name
severity: Option<String>how serious a match is: critical, high, medium or low
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RuleView
impl<'de> Deserialize<'de> for RuleView
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 StructuralPartialEq for RuleView
Auto Trait Implementations§
impl Freeze for RuleView
impl RefUnwindSafe for RuleView
impl Send for RuleView
impl Sync for RuleView
impl Unpin for RuleView
impl UnsafeUnpin for RuleView
impl UnwindSafe for RuleView
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