Struct aws_sdk_personalize::types::DatasetSchema
source · #[non_exhaustive]pub struct DatasetSchema {
pub name: Option<String>,
pub schema_arn: Option<String>,
pub schema: Option<String>,
pub creation_date_time: Option<DateTime>,
pub last_updated_date_time: Option<DateTime>,
pub domain: Option<Domain>,
}
Expand description
Describes the schema for a dataset. For more information on schemas, see CreateSchema.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the schema.
schema_arn: Option<String>
The Amazon Resource Name (ARN) of the schema.
schema: Option<String>
The schema.
creation_date_time: Option<DateTime>
The date and time (in Unix time) that the schema was created.
last_updated_date_time: Option<DateTime>
The date and time (in Unix time) that the schema was last updated.
domain: Option<Domain>
The domain of a schema that you created for a dataset in a Domain dataset group.
Implementations§
source§impl DatasetSchema
impl DatasetSchema
sourcepub fn schema_arn(&self) -> Option<&str>
pub fn schema_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the schema.
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 schema 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 schema was last updated.
source§impl DatasetSchema
impl DatasetSchema
sourcepub fn builder() -> DatasetSchemaBuilder
pub fn builder() -> DatasetSchemaBuilder
Creates a new builder-style object to manufacture DatasetSchema
.
Trait Implementations§
source§impl Clone for DatasetSchema
impl Clone for DatasetSchema
source§fn clone(&self) -> DatasetSchema
fn clone(&self) -> DatasetSchema
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DatasetSchema
impl Debug for DatasetSchema
source§impl PartialEq for DatasetSchema
impl PartialEq for DatasetSchema
source§fn eq(&self, other: &DatasetSchema) -> bool
fn eq(&self, other: &DatasetSchema) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DatasetSchema
Auto Trait Implementations§
impl Freeze for DatasetSchema
impl RefUnwindSafe for DatasetSchema
impl Send for DatasetSchema
impl Sync for DatasetSchema
impl Unpin for DatasetSchema
impl UnwindSafe for DatasetSchema
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.