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
sourceimpl 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).
sourceimpl SchemaAttribute
impl SchemaAttribute
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SchemaAttribute.
Trait Implementations
sourceimpl Clone for SchemaAttribute
impl Clone for SchemaAttribute
sourcefn clone(&self) -> SchemaAttribute
fn clone(&self) -> SchemaAttribute
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SchemaAttribute
impl Debug for SchemaAttribute
sourceimpl PartialEq<SchemaAttribute> for SchemaAttribute
impl PartialEq<SchemaAttribute> for SchemaAttribute
sourcefn eq(&self, other: &SchemaAttribute) -> bool
fn eq(&self, other: &SchemaAttribute) -> bool
impl StructuralPartialEq for SchemaAttribute
Auto Trait Implementations
impl RefUnwindSafe for SchemaAttribute
impl Send for SchemaAttribute
impl Sync for SchemaAttribute
impl Unpin for SchemaAttribute
impl UnwindSafe for SchemaAttribute
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more