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 ==.