#[non_exhaustive]pub struct CreateControlInput {
pub name: Option<String>,
pub description: Option<String>,
pub testing_information: Option<String>,
pub action_plan_title: Option<String>,
pub action_plan_instructions: Option<String>,
pub control_mapping_sources: Option<Vec<CreateControlMappingSource>>,
pub tags: Option<HashMap<String, String>>,
}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.name: Option<String>The name of the control.
description: Option<String>The description of the control.
testing_information: Option<String>The steps to follow to determine if the control is satisfied.
action_plan_title: Option<String>The title of the action plan for remediating the control.
action_plan_instructions: Option<String>The recommended actions to carry out if the control isn't fulfilled.
control_mapping_sources: Option<Vec<CreateControlMappingSource>>The data mapping sources for the control.
The tags that are associated with the control.
Implementations§
source§impl CreateControlInput
impl CreateControlInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the control.
sourcepub fn testing_information(&self) -> Option<&str>
pub fn testing_information(&self) -> Option<&str>
The steps to follow to determine if the control is satisfied.
sourcepub fn action_plan_title(&self) -> Option<&str>
pub fn action_plan_title(&self) -> Option<&str>
The title of the action plan for remediating the control.
sourcepub fn action_plan_instructions(&self) -> Option<&str>
pub fn action_plan_instructions(&self) -> Option<&str>
The recommended actions to carry out if the control isn't fulfilled.
sourcepub fn control_mapping_sources(&self) -> Option<&[CreateControlMappingSource]>
pub fn control_mapping_sources(&self) -> Option<&[CreateControlMappingSource]>
The data mapping sources for the control.
The tags that are associated with the control.
source§impl CreateControlInput
impl CreateControlInput
sourcepub fn builder() -> CreateControlInputBuilder
pub fn builder() -> CreateControlInputBuilder
Creates a new builder-style object to manufacture CreateControlInput.
Trait Implementations§
source§impl Clone for CreateControlInput
impl Clone for CreateControlInput
source§fn clone(&self) -> CreateControlInput
fn clone(&self) -> CreateControlInput
Returns a copy 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 CreateControlInput
impl Debug for CreateControlInput
source§impl PartialEq<CreateControlInput> for CreateControlInput
impl PartialEq<CreateControlInput> for CreateControlInput
source§fn eq(&self, other: &CreateControlInput) -> bool
fn eq(&self, other: &CreateControlInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateControlInput
Auto Trait Implementations§
impl RefUnwindSafe for CreateControlInput
impl Send for CreateControlInput
impl Sync for CreateControlInput
impl Unpin for CreateControlInput
impl UnwindSafe for CreateControlInput
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