Struct aws_sdk_rekognition::types::DatasetDescription
source · #[non_exhaustive]pub struct DatasetDescription {
pub creation_timestamp: Option<DateTime>,
pub last_updated_timestamp: Option<DateTime>,
pub status: Option<DatasetStatus>,
pub status_message: Option<String>,
pub status_message_code: Option<DatasetStatusMessageCode>,
pub dataset_stats: Option<DatasetStats>,
}Expand description
A description for a dataset. For more information, see DescribeDataset.
The status fields Status, StatusMessage, and StatusMessageCode reflect the last operation on the dataset.
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.creation_timestamp: Option<DateTime>The Unix timestamp for the time and date that the dataset was created.
last_updated_timestamp: Option<DateTime>The Unix timestamp for the date and time that the dataset was last updated.
status: Option<DatasetStatus>The status of the dataset.
status_message: Option<String>The status message for the dataset.
status_message_code: Option<DatasetStatusMessageCode>The status message code for the dataset operation. If a service error occurs, try the API call again later. If a client error occurs, check the input parameters to the dataset API call that failed.
dataset_stats: Option<DatasetStats>The status message code for the dataset.
Implementations§
source§impl DatasetDescription
impl DatasetDescription
sourcepub fn creation_timestamp(&self) -> Option<&DateTime>
pub fn creation_timestamp(&self) -> Option<&DateTime>
The Unix timestamp for the time and date that the dataset was created.
sourcepub fn last_updated_timestamp(&self) -> Option<&DateTime>
pub fn last_updated_timestamp(&self) -> Option<&DateTime>
The Unix timestamp for the date and time that the dataset was last updated.
sourcepub fn status(&self) -> Option<&DatasetStatus>
pub fn status(&self) -> Option<&DatasetStatus>
The status of the dataset.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
The status message for the dataset.
sourcepub fn status_message_code(&self) -> Option<&DatasetStatusMessageCode>
pub fn status_message_code(&self) -> Option<&DatasetStatusMessageCode>
The status message code for the dataset operation. If a service error occurs, try the API call again later. If a client error occurs, check the input parameters to the dataset API call that failed.
sourcepub fn dataset_stats(&self) -> Option<&DatasetStats>
pub fn dataset_stats(&self) -> Option<&DatasetStats>
The status message code for the dataset.
source§impl DatasetDescription
impl DatasetDescription
sourcepub fn builder() -> DatasetDescriptionBuilder
pub fn builder() -> DatasetDescriptionBuilder
Creates a new builder-style object to manufacture DatasetDescription.
Trait Implementations§
source§impl Clone for DatasetDescription
impl Clone for DatasetDescription
source§fn clone(&self) -> DatasetDescription
fn clone(&self) -> DatasetDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DatasetDescription
impl Debug for DatasetDescription
source§impl PartialEq for DatasetDescription
impl PartialEq for DatasetDescription
source§fn eq(&self, other: &DatasetDescription) -> bool
fn eq(&self, other: &DatasetDescription) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DatasetDescription
Auto Trait Implementations§
impl Freeze for DatasetDescription
impl RefUnwindSafe for DatasetDescription
impl Send for DatasetDescription
impl Sync for DatasetDescription
impl Unpin for DatasetDescription
impl UnwindSafe for DatasetDescription
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more