pub struct Rule {Show 15 fields
pub id: u32,
pub level: u32,
pub description: String,
pub filename: String,
pub relative_dirname: String,
pub status: String,
pub details: Option<RuleDetails>,
pub gdpr: Option<Vec<String>>,
pub gpg13: Option<Vec<String>>,
pub hipaa: Option<Vec<String>>,
pub nist_800_53: Option<Vec<String>>,
pub tsc: Option<Vec<String>>,
pub pci_dss: Option<Vec<String>>,
pub mitre: Option<Vec<String>>,
pub groups: Vec<String>,
}Fields§
§id: u32§level: u32§description: String§filename: String§relative_dirname: String§status: String§details: Option<RuleDetails>§gdpr: Option<Vec<String>>§gpg13: Option<Vec<String>>§hipaa: Option<Vec<String>>§nist_800_53: Option<Vec<String>>§tsc: Option<Vec<String>>§pci_dss: Option<Vec<String>>§mitre: Option<Vec<String>>§groups: Vec<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Rule
impl<'de> Deserialize<'de> for Rule
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
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
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