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 ==
.impl StructuralPartialEq for DateTimeDefaultValues
Auto Trait Implementations§
impl Freeze for DateTimeDefaultValues
impl RefUnwindSafe for DateTimeDefaultValues
impl Send for DateTimeDefaultValues
impl Sync for DateTimeDefaultValues
impl Unpin for DateTimeDefaultValues
impl UnwindSafe for DateTimeDefaultValues
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more