pub struct Control {Show 15 fields
pub id: String,
pub title: String,
pub policy: String,
pub nist: Vec<String>,
pub owner: String,
pub cadence: Cadence,
pub weekday: Option<Weekday>,
pub due_by: Option<String>,
pub skill: String,
pub skill_args: Option<Value>,
pub scope: Option<Scope>,
pub evidence_required: Vec<EvidenceRequirement>,
pub remediation_thresholds: BTreeMap<String, u32>,
pub outputs: Option<Value>,
pub references: Vec<Reference>,
}Fields§
§id: String§title: String§policy: String§nist: Vec<String>§owner: String§cadence: Cadence§weekday: Option<Weekday>§due_by: Option<String>§skill: String§skill_args: Option<Value>§scope: Option<Scope>§evidence_required: Vec<EvidenceRequirement>§remediation_thresholds: BTreeMap<String, u32>§outputs: Option<Value>§references: Vec<Reference>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Control
impl<'de> Deserialize<'de> for Control
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 Control
impl RefUnwindSafe for Control
impl Send for Control
impl Sync for Control
impl Unpin for Control
impl UnsafeUnpin for Control
impl UnwindSafe for Control
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