#[non_exhaustive]pub struct DateTimeDatasetParameter {
pub id: Option<String>,
pub name: Option<String>,
pub value_type: Option<DatasetParameterValueType>,
pub time_granularity: Option<TimeGranularity>,
pub default_values: Option<DateTimeDatasetParameterDefaultValues>,
}Expand description
A date time parameter for a dataset.
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.id: Option<String>An identifier for the parameter that is created in the dataset.
name: Option<String>The name of the date time parameter that is created in the dataset.
value_type: Option<DatasetParameterValueType>The value type of the dataset parameter. Valid values are single value or multi value.
time_granularity: Option<TimeGranularity>The time granularity of the date time parameter.
default_values: Option<DateTimeDatasetParameterDefaultValues>A list of default values for a given date time parameter. This structure only accepts static values.
Implementations§
source§impl DateTimeDatasetParameter
impl DateTimeDatasetParameter
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
An identifier for the parameter that is created in the dataset.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the date time parameter that is created in the dataset.
sourcepub fn value_type(&self) -> Option<&DatasetParameterValueType>
pub fn value_type(&self) -> Option<&DatasetParameterValueType>
The value type of the dataset parameter. Valid values are single value or multi value.
sourcepub fn time_granularity(&self) -> Option<&TimeGranularity>
pub fn time_granularity(&self) -> Option<&TimeGranularity>
The time granularity of the date time parameter.
sourcepub fn default_values(&self) -> Option<&DateTimeDatasetParameterDefaultValues>
pub fn default_values(&self) -> Option<&DateTimeDatasetParameterDefaultValues>
A list of default values for a given date time parameter. This structure only accepts static values.
source§impl DateTimeDatasetParameter
impl DateTimeDatasetParameter
sourcepub fn builder() -> DateTimeDatasetParameterBuilder
pub fn builder() -> DateTimeDatasetParameterBuilder
Creates a new builder-style object to manufacture DateTimeDatasetParameter.
Trait Implementations§
source§impl Clone for DateTimeDatasetParameter
impl Clone for DateTimeDatasetParameter
source§fn clone(&self) -> DateTimeDatasetParameter
fn clone(&self) -> DateTimeDatasetParameter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DateTimeDatasetParameter
impl Debug for DateTimeDatasetParameter
source§impl PartialEq<DateTimeDatasetParameter> for DateTimeDatasetParameter
impl PartialEq<DateTimeDatasetParameter> for DateTimeDatasetParameter
source§fn eq(&self, other: &DateTimeDatasetParameter) -> bool
fn eq(&self, other: &DateTimeDatasetParameter) -> bool
self and other values to be equal, and is used
by ==.