#[non_exhaustive]pub struct DataCollectionDetails {
pub status: Option<AssessmentStatus>,
pub servers: Option<i32>,
pub failed: Option<i32>,
pub success: Option<i32>,
pub in_progress: Option<i32>,
pub start_time: Option<DateTime>,
pub completion_time: Option<DateTime>,
}Expand description
Detailed information about an 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.status: Option<AssessmentStatus>The status of the assessment.
servers: Option<i32>The total number of servers in the assessment.
failed: Option<i32>The number of failed servers in the assessment.
success: Option<i32>The number of successful servers in the assessment.
in_progress: Option<i32> The number of servers with the assessment status IN_PROGESS.
start_time: Option<DateTime>The start time of assessment.
completion_time: Option<DateTime>The time the assessment completes.
Implementations
sourceimpl DataCollectionDetails
impl DataCollectionDetails
sourcepub fn status(&self) -> Option<&AssessmentStatus>
pub fn status(&self) -> Option<&AssessmentStatus>
The status of the assessment.
sourcepub fn in_progress(&self) -> Option<i32>
pub fn in_progress(&self) -> Option<i32>
The number of servers with the assessment status IN_PROGESS.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The start time of assessment.
sourcepub fn completion_time(&self) -> Option<&DateTime>
pub fn completion_time(&self) -> Option<&DateTime>
The time the assessment completes.
sourceimpl DataCollectionDetails
impl DataCollectionDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DataCollectionDetails
Trait Implementations
sourceimpl Clone for DataCollectionDetails
impl Clone for DataCollectionDetails
sourcefn clone(&self) -> DataCollectionDetails
fn clone(&self) -> DataCollectionDetails
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 DataCollectionDetails
impl Debug for DataCollectionDetails
sourceimpl PartialEq<DataCollectionDetails> for DataCollectionDetails
impl PartialEq<DataCollectionDetails> for DataCollectionDetails
sourcefn eq(&self, other: &DataCollectionDetails) -> bool
fn eq(&self, other: &DataCollectionDetails) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DataCollectionDetails) -> bool
fn ne(&self, other: &DataCollectionDetails) -> bool
This method tests for !=.
impl StructuralPartialEq for DataCollectionDetails
Auto Trait Implementations
impl RefUnwindSafe for DataCollectionDetails
impl Send for DataCollectionDetails
impl Sync for DataCollectionDetails
impl Unpin for DataCollectionDetails
impl UnwindSafe for DataCollectionDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
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