#[non_exhaustive]pub struct DateTimeParameterBuilder { /* private fields */ }
Expand description
A builder for DateTimeParameter
.
Implementations§
source§impl DateTimeParameterBuilder
impl DateTimeParameterBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A display name for the date-time parameter.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A display name for the date-time parameter.
sourcepub fn values(self, input: DateTime) -> Self
pub fn values(self, input: DateTime) -> Self
Appends an item to values
.
To override the contents of this collection use set_values
.
The values for the date-time parameter.
sourcepub fn set_values(self, input: Option<Vec<DateTime>>) -> Self
pub fn set_values(self, input: Option<Vec<DateTime>>) -> Self
The values for the date-time parameter.
sourcepub fn build(self) -> DateTimeParameter
pub fn build(self) -> DateTimeParameter
Consumes the builder and constructs a DateTimeParameter
.
Trait Implementations§
source§impl Clone for DateTimeParameterBuilder
impl Clone for DateTimeParameterBuilder
source§fn clone(&self) -> DateTimeParameterBuilder
fn clone(&self) -> DateTimeParameterBuilder
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 DateTimeParameterBuilder
impl Debug for DateTimeParameterBuilder
source§impl Default for DateTimeParameterBuilder
impl Default for DateTimeParameterBuilder
source§fn default() -> DateTimeParameterBuilder
fn default() -> DateTimeParameterBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DateTimeParameterBuilder> for DateTimeParameterBuilder
impl PartialEq<DateTimeParameterBuilder> for DateTimeParameterBuilder
source§fn eq(&self, other: &DateTimeParameterBuilder) -> bool
fn eq(&self, other: &DateTimeParameterBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.