Struct aws_sdk_forecast::model::SchemaAttribute
source · #[non_exhaustive]pub struct SchemaAttribute { /* private fields */ }Expand description
An attribute of a schema, which defines a dataset field. A schema attribute is required for every field in a dataset. The Schema object contains an array of SchemaAttribute objects.
Implementations§
source§impl SchemaAttribute
impl SchemaAttribute
sourcepub fn attribute_name(&self) -> Option<&str>
pub fn attribute_name(&self) -> Option<&str>
The name of the dataset field.
sourcepub fn attribute_type(&self) -> Option<&AttributeType>
pub fn attribute_type(&self) -> Option<&AttributeType>
The data type of the field.
For a related time series dataset, other than date, item_id, and forecast dimensions attributes, all attributes should be of numerical type (integer/float).
source§impl SchemaAttribute
impl SchemaAttribute
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SchemaAttribute.
Trait Implementations§
source§impl Clone for SchemaAttribute
impl Clone for SchemaAttribute
source§fn clone(&self) -> SchemaAttribute
fn clone(&self) -> SchemaAttribute
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 SchemaAttribute
impl Debug for SchemaAttribute
source§impl PartialEq<SchemaAttribute> for SchemaAttribute
impl PartialEq<SchemaAttribute> for SchemaAttribute
source§fn eq(&self, other: &SchemaAttribute) -> bool
fn eq(&self, other: &SchemaAttribute) -> bool
This method tests for
self and other values to be equal, and is used
by ==.