#[non_exhaustive]pub struct AssessmentReportMetadata {
pub id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub assessment_id: Option<String>,
pub assessment_name: Option<String>,
pub author: Option<String>,
pub status: Option<AssessmentReportStatus>,
pub creation_time: Option<DateTime>,
}
Expand description
The metadata objects that are associated with the specified assessment report.
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 unique identifier for the assessment report.
name: Option<String>
The name of the assessment report.
description: Option<String>
The description of the assessment report.
assessment_id: Option<String>
The unique identifier for the associated assessment.
assessment_name: Option<String>
The name of the associated assessment.
The name of the user who created the assessment report.
status: Option<AssessmentReportStatus>
The current status of the assessment report.
creation_time: Option<DateTime>
Specifies when the assessment report was created.
Implementations
sourceimpl AssessmentReportMetadata
impl AssessmentReportMetadata
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the assessment report.
sourcepub fn assessment_id(&self) -> Option<&str>
pub fn assessment_id(&self) -> Option<&str>
The unique identifier for the associated assessment.
sourcepub fn assessment_name(&self) -> Option<&str>
pub fn assessment_name(&self) -> Option<&str>
The name of the associated assessment.
The name of the user who created the assessment report.
sourcepub fn status(&self) -> Option<&AssessmentReportStatus>
pub fn status(&self) -> Option<&AssessmentReportStatus>
The current status of the assessment report.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
Specifies when the assessment report was created.
sourceimpl AssessmentReportMetadata
impl AssessmentReportMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AssessmentReportMetadata
Trait Implementations
sourceimpl Clone for AssessmentReportMetadata
impl Clone for AssessmentReportMetadata
sourcefn clone(&self) -> AssessmentReportMetadata
fn clone(&self) -> AssessmentReportMetadata
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 AssessmentReportMetadata
impl Debug for AssessmentReportMetadata
sourceimpl PartialEq<AssessmentReportMetadata> for AssessmentReportMetadata
impl PartialEq<AssessmentReportMetadata> for AssessmentReportMetadata
sourcefn eq(&self, other: &AssessmentReportMetadata) -> bool
fn eq(&self, other: &AssessmentReportMetadata) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AssessmentReportMetadata) -> bool
fn ne(&self, other: &AssessmentReportMetadata) -> bool
This method tests for !=
.
impl StructuralPartialEq for AssessmentReportMetadata
Auto Trait Implementations
impl RefUnwindSafe for AssessmentReportMetadata
impl Send for AssessmentReportMetadata
impl Sync for AssessmentReportMetadata
impl Unpin for AssessmentReportMetadata
impl UnwindSafe for AssessmentReportMetadata
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