#[non_exhaustive]pub struct UpdateAssessmentInput {
pub assessment_id: Option<String>,
pub assessment_name: Option<String>,
pub assessment_description: Option<String>,
pub scope: Option<Scope>,
pub assessment_reports_destination: Option<AssessmentReportsDestination>,
pub roles: Option<Vec<Role>>,
}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.assessment_id: Option<String>The unique identifier for the assessment.
assessment_name: Option<String>The name of the assessment to be updated.
assessment_description: Option<String>The description of the assessment.
scope: Option<Scope>The scope of the assessment.
assessment_reports_destination: Option<AssessmentReportsDestination>The assessment report storage destination for the assessment that's being updated.
roles: Option<Vec<Role>>The list of roles for the assessment.
Implementations§
source§impl UpdateAssessmentInput
impl UpdateAssessmentInput
sourcepub fn assessment_id(&self) -> Option<&str>
pub fn assessment_id(&self) -> Option<&str>
The unique identifier for the assessment.
sourcepub fn assessment_name(&self) -> Option<&str>
pub fn assessment_name(&self) -> Option<&str>
The name of the assessment to be updated.
sourcepub fn assessment_description(&self) -> Option<&str>
pub fn assessment_description(&self) -> Option<&str>
The description of the assessment.
sourcepub fn assessment_reports_destination(
&self
) -> Option<&AssessmentReportsDestination>
pub fn assessment_reports_destination( &self ) -> Option<&AssessmentReportsDestination>
The assessment report storage destination for the assessment that's being updated.
source§impl UpdateAssessmentInput
impl UpdateAssessmentInput
sourcepub fn builder() -> UpdateAssessmentInputBuilder
pub fn builder() -> UpdateAssessmentInputBuilder
Creates a new builder-style object to manufacture UpdateAssessmentInput.
Trait Implementations§
source§impl Clone for UpdateAssessmentInput
impl Clone for UpdateAssessmentInput
source§fn clone(&self) -> UpdateAssessmentInput
fn clone(&self) -> UpdateAssessmentInput
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 UpdateAssessmentInput
impl Debug for UpdateAssessmentInput
source§impl PartialEq for UpdateAssessmentInput
impl PartialEq for UpdateAssessmentInput
source§fn eq(&self, other: &UpdateAssessmentInput) -> bool
fn eq(&self, other: &UpdateAssessmentInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateAssessmentInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateAssessmentInput
impl Send for UpdateAssessmentInput
impl Sync for UpdateAssessmentInput
impl Unpin for UpdateAssessmentInput
impl UnwindSafe for UpdateAssessmentInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.