Struct aws_sdk_quicksight::types::DateDimensionField
source · #[non_exhaustive]pub struct DateDimensionField {
pub field_id: String,
pub column: Option<ColumnIdentifier>,
pub date_granularity: Option<TimeGranularity>,
pub hierarchy_id: Option<String>,
pub format_configuration: Option<DateTimeFormatConfiguration>,
}Expand description
The dimension type field with date type columns.
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.field_id: StringThe custom field ID.
column: Option<ColumnIdentifier>The column that is used in the DateDimensionField.
date_granularity: Option<TimeGranularity>The date granularity of the DateDimensionField. Choose one of the following options:
-
YEAR -
QUARTER -
MONTH -
WEEK -
DAY -
HOUR -
MINUTE -
SECOND -
MILLISECOND
hierarchy_id: Option<String>The custom hierarchy ID.
format_configuration: Option<DateTimeFormatConfiguration>The format configuration of the field.
Implementations§
source§impl DateDimensionField
impl DateDimensionField
sourcepub fn column(&self) -> Option<&ColumnIdentifier>
pub fn column(&self) -> Option<&ColumnIdentifier>
The column that is used in the DateDimensionField.
sourcepub fn date_granularity(&self) -> Option<&TimeGranularity>
pub fn date_granularity(&self) -> Option<&TimeGranularity>
The date granularity of the DateDimensionField. Choose one of the following options:
-
YEAR -
QUARTER -
MONTH -
WEEK -
DAY -
HOUR -
MINUTE -
SECOND -
MILLISECOND
sourcepub fn hierarchy_id(&self) -> Option<&str>
pub fn hierarchy_id(&self) -> Option<&str>
The custom hierarchy ID.
sourcepub fn format_configuration(&self) -> Option<&DateTimeFormatConfiguration>
pub fn format_configuration(&self) -> Option<&DateTimeFormatConfiguration>
The format configuration of the field.
source§impl DateDimensionField
impl DateDimensionField
sourcepub fn builder() -> DateDimensionFieldBuilder
pub fn builder() -> DateDimensionFieldBuilder
Creates a new builder-style object to manufacture DateDimensionField.
Trait Implementations§
source§impl Clone for DateDimensionField
impl Clone for DateDimensionField
source§fn clone(&self) -> DateDimensionField
fn clone(&self) -> DateDimensionField
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 DateDimensionField
impl Debug for DateDimensionField
source§impl PartialEq for DateDimensionField
impl PartialEq for DateDimensionField
source§fn eq(&self, other: &DateDimensionField) -> bool
fn eq(&self, other: &DateDimensionField) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DateDimensionField
Auto Trait Implementations§
impl Freeze for DateDimensionField
impl RefUnwindSafe for DateDimensionField
impl Send for DateDimensionField
impl Sync for DateDimensionField
impl Unpin for DateDimensionField
impl UnwindSafe for DateDimensionField
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.