#[non_exhaustive]pub struct DateTimeParameterDeclaration { /* private fields */ }Expand description
A parameter declaration for the DateTime data type.
Implementations§
source§impl DateTimeParameterDeclaration
impl DateTimeParameterDeclaration
sourcepub fn default_values(&self) -> Option<&DateTimeDefaultValues>
pub fn default_values(&self) -> Option<&DateTimeDefaultValues>
The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.
sourcepub fn time_granularity(&self) -> Option<&TimeGranularity>
pub fn time_granularity(&self) -> Option<&TimeGranularity>
The level of time precision that is used to aggregate DateTime values.
sourcepub fn value_when_unset(&self) -> Option<&DateTimeValueWhenUnsetConfiguration>
pub fn value_when_unset(&self) -> Option<&DateTimeValueWhenUnsetConfiguration>
The configuration that defines the default value of a DateTime parameter when a value has not been set.
source§impl DateTimeParameterDeclaration
impl DateTimeParameterDeclaration
sourcepub fn builder() -> DateTimeParameterDeclarationBuilder
pub fn builder() -> DateTimeParameterDeclarationBuilder
Creates a new builder-style object to manufacture DateTimeParameterDeclaration.
Trait Implementations§
source§impl Clone for DateTimeParameterDeclaration
impl Clone for DateTimeParameterDeclaration
source§fn clone(&self) -> DateTimeParameterDeclaration
fn clone(&self) -> DateTimeParameterDeclaration
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 DateTimeParameterDeclaration
impl Debug for DateTimeParameterDeclaration
source§impl PartialEq<DateTimeParameterDeclaration> for DateTimeParameterDeclaration
impl PartialEq<DateTimeParameterDeclaration> for DateTimeParameterDeclaration
source§fn eq(&self, other: &DateTimeParameterDeclaration) -> bool
fn eq(&self, other: &DateTimeParameterDeclaration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DateTimeParameterDeclaration
Auto Trait Implementations§
impl RefUnwindSafe for DateTimeParameterDeclaration
impl Send for DateTimeParameterDeclaration
impl Sync for DateTimeParameterDeclaration
impl Unpin for DateTimeParameterDeclaration
impl UnwindSafe for DateTimeParameterDeclaration
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