Struct aws_sdk_auditmanager::model::AssessmentControlSet
source · [−]#[non_exhaustive]pub struct AssessmentControlSet {
pub id: Option<String>,
pub description: Option<String>,
pub status: Option<ControlSetStatus>,
pub roles: Option<Vec<Role>>,
pub controls: Option<Vec<AssessmentControl>>,
pub delegations: Option<Vec<Delegation>>,
pub system_evidence_count: i32,
pub manual_evidence_count: i32,
}
Expand description
Represents a set of controls in an Audit Manager assessment.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: Option<String>
The identifier of the control set in the assessment. This is the control set name in a plain string format.
description: Option<String>
The description for the control set.
status: Option<ControlSetStatus>
Specifies the current status of the control set.
roles: Option<Vec<Role>>
The roles that are associated with the control set.
controls: Option<Vec<AssessmentControl>>
The list of controls that's contained with the control set.
delegations: Option<Vec<Delegation>>
The delegations that are associated with the control set.
system_evidence_count: i32
The total number of evidence objects that are retrieved automatically for the control set.
manual_evidence_count: i32
The total number of evidence objects that are uploaded manually to the control set.
Implementations
sourceimpl AssessmentControlSet
impl AssessmentControlSet
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The identifier of the control set in the assessment. This is the control set name in a plain string format.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description for the control set.
sourcepub fn status(&self) -> Option<&ControlSetStatus>
pub fn status(&self) -> Option<&ControlSetStatus>
Specifies the current status of the control set.
sourcepub fn controls(&self) -> Option<&[AssessmentControl]>
pub fn controls(&self) -> Option<&[AssessmentControl]>
The list of controls that's contained with the control set.
sourcepub fn delegations(&self) -> Option<&[Delegation]>
pub fn delegations(&self) -> Option<&[Delegation]>
The delegations that are associated with the control set.
sourcepub fn system_evidence_count(&self) -> i32
pub fn system_evidence_count(&self) -> i32
The total number of evidence objects that are retrieved automatically for the control set.
sourcepub fn manual_evidence_count(&self) -> i32
pub fn manual_evidence_count(&self) -> i32
The total number of evidence objects that are uploaded manually to the control set.
sourceimpl AssessmentControlSet
impl AssessmentControlSet
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AssessmentControlSet
Trait Implementations
sourceimpl Clone for AssessmentControlSet
impl Clone for AssessmentControlSet
sourcefn clone(&self) -> AssessmentControlSet
fn clone(&self) -> AssessmentControlSet
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AssessmentControlSet
impl Debug for AssessmentControlSet
sourceimpl PartialEq<AssessmentControlSet> for AssessmentControlSet
impl PartialEq<AssessmentControlSet> for AssessmentControlSet
sourcefn eq(&self, other: &AssessmentControlSet) -> bool
fn eq(&self, other: &AssessmentControlSet) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AssessmentControlSet) -> bool
fn ne(&self, other: &AssessmentControlSet) -> bool
This method tests for !=
.
impl StructuralPartialEq for AssessmentControlSet
Auto Trait Implementations
impl RefUnwindSafe for AssessmentControlSet
impl Send for AssessmentControlSet
impl Sync for AssessmentControlSet
impl Unpin for AssessmentControlSet
impl UnwindSafe for AssessmentControlSet
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more