Struct aws_sdk_quicksight::types::DateTimeDefaultValues
source · #[non_exhaustive]pub struct DateTimeDefaultValues {
pub dynamic_value: Option<DynamicDefaultValue>,
pub static_values: Option<Vec<DateTime>>,
pub rolling_date: Option<RollingDateConfiguration>,
}
Expand description
The default values of the DateTimeParameterDeclaration
.
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.dynamic_value: Option<DynamicDefaultValue>
The dynamic value of the DataTimeDefaultValues
. Different defaults are displayed according to users, groups, and values mapping.
static_values: Option<Vec<DateTime>>
The static values of the DataTimeDefaultValues
.
rolling_date: Option<RollingDateConfiguration>
The rolling date of the DataTimeDefaultValues
. The date is determined from the dataset based on input expression.
Implementations§
source§impl DateTimeDefaultValues
impl DateTimeDefaultValues
sourcepub fn dynamic_value(&self) -> Option<&DynamicDefaultValue>
pub fn dynamic_value(&self) -> Option<&DynamicDefaultValue>
The dynamic value of the DataTimeDefaultValues
. Different defaults are displayed according to users, groups, and values mapping.
sourcepub fn static_values(&self) -> &[DateTime]
pub fn static_values(&self) -> &[DateTime]
The static values of the DataTimeDefaultValues
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .static_values.is_none()
.
sourcepub fn rolling_date(&self) -> Option<&RollingDateConfiguration>
pub fn rolling_date(&self) -> Option<&RollingDateConfiguration>
The rolling date of the DataTimeDefaultValues
. The date is determined from the dataset based on input expression.
source§impl DateTimeDefaultValues
impl DateTimeDefaultValues
sourcepub fn builder() -> DateTimeDefaultValuesBuilder
pub fn builder() -> DateTimeDefaultValuesBuilder
Creates a new builder-style object to manufacture DateTimeDefaultValues
.
Trait Implementations§
source§impl Clone for DateTimeDefaultValues
impl Clone for DateTimeDefaultValues
source§fn clone(&self) -> DateTimeDefaultValues
fn clone(&self) -> DateTimeDefaultValues
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DateTimeDefaultValues
impl Debug for DateTimeDefaultValues
source§impl PartialEq for DateTimeDefaultValues
impl PartialEq for DateTimeDefaultValues
source§fn eq(&self, other: &DateTimeDefaultValues) -> bool
fn eq(&self, other: &DateTimeDefaultValues) -> bool
self
and other
values to be equal, and is used
by ==
.