#[non_exhaustive]pub struct CisControl {
pub desc: Option<String>,
pub name: Option<String>,
pub version: Option<String>,
}Expand description
CIS Control
The CIS Control (aka Critical Security Control) object describes a prioritized set of actions to protect your organization and data from cyber-attack vectors. The CIS Controls are defined by the Center for Internet Security.
[] Category: | Name: cis_control
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.desc: Option<String>Description
The CIS Control description. For example: Uninstall or disable unnecessary services on enterprise assets and software, such as an unused file sharing service, web application module, or service function.
optional
name: Option<String>Name
The CIS Control name. For example: 4.8 Uninstall or Disable Unnecessary Services on Enterprise Assets and Software.
required
version: Option<String>Version
The CIS Control version. For example: v8.
recommended
Trait Implementations§
Source§impl Clone for CisControl
impl Clone for CisControl
Source§fn clone(&self) -> CisControl
fn clone(&self) -> CisControl
Returns a duplicate of the value. Read more
1.0.0 · 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 CisControl
impl Debug for CisControl
Source§impl Default for CisControl
impl Default for CisControl
Source§fn default() -> CisControl
fn default() -> CisControl
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CisControlwhere
CisControl: Default,
impl<'de> Deserialize<'de> for CisControlwhere
CisControl: Default,
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
Source§impl PartialEq for CisControl
impl PartialEq for CisControl
Source§impl Serialize for CisControl
impl Serialize for CisControl
impl StructuralPartialEq for CisControl
Auto Trait Implementations§
impl Freeze for CisControl
impl RefUnwindSafe for CisControl
impl Send for CisControl
impl Sync for CisControl
impl Unpin for CisControl
impl UnwindSafe for CisControl
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