Struct aws_sdk_personalize::types::DatasetSummary
source · #[non_exhaustive]pub struct DatasetSummary {
pub name: Option<String>,
pub dataset_arn: Option<String>,
pub dataset_type: Option<String>,
pub status: Option<String>,
pub creation_date_time: Option<DateTime>,
pub last_updated_date_time: Option<DateTime>,
}Expand description
Provides a summary of the properties of a dataset. For a complete listing, call the DescribeDataset API.
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.name: Option<String>The name of the dataset.
dataset_arn: Option<String>The Amazon Resource Name (ARN) of the dataset.
dataset_type: Option<String>The dataset type. One of the following values:
-
Interactions
-
Items
-
Users
-
Event-Interactions
status: Option<String>The status of the dataset.
A dataset can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
creation_date_time: Option<DateTime>The date and time (in Unix time) that the dataset was created.
last_updated_date_time: Option<DateTime>The date and time (in Unix time) that the dataset was last updated.
Implementations§
source§impl DatasetSummary
impl DatasetSummary
sourcepub fn dataset_arn(&self) -> Option<&str>
pub fn dataset_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the dataset.
sourcepub fn dataset_type(&self) -> Option<&str>
pub fn dataset_type(&self) -> Option<&str>
The dataset type. One of the following values:
-
Interactions
-
Items
-
Users
-
Event-Interactions
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the dataset.
A dataset can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
sourcepub fn creation_date_time(&self) -> Option<&DateTime>
pub fn creation_date_time(&self) -> Option<&DateTime>
The date and time (in Unix time) that the dataset was created.
sourcepub fn last_updated_date_time(&self) -> Option<&DateTime>
pub fn last_updated_date_time(&self) -> Option<&DateTime>
The date and time (in Unix time) that the dataset was last updated.
source§impl DatasetSummary
impl DatasetSummary
sourcepub fn builder() -> DatasetSummaryBuilder
pub fn builder() -> DatasetSummaryBuilder
Creates a new builder-style object to manufacture DatasetSummary.
Trait Implementations§
source§impl Clone for DatasetSummary
impl Clone for DatasetSummary
source§fn clone(&self) -> DatasetSummary
fn clone(&self) -> DatasetSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DatasetSummary
impl Debug for DatasetSummary
source§impl PartialEq for DatasetSummary
impl PartialEq for DatasetSummary
source§fn eq(&self, other: &DatasetSummary) -> bool
fn eq(&self, other: &DatasetSummary) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DatasetSummary
Auto Trait Implementations§
impl Freeze for DatasetSummary
impl RefUnwindSafe for DatasetSummary
impl Send for DatasetSummary
impl Sync for DatasetSummary
impl Unpin for DatasetSummary
impl UnwindSafe for DatasetSummary
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