#[non_exhaustive]pub struct ParameterMappingBuilder { /* private fields */ }
Expand description
A builder for ParameterMapping
.
Implementations§
source§impl ParameterMappingBuilder
impl ParameterMappingBuilder
sourcepub fn type(self, input: Type) -> Self
pub fn type(self, input: Type) -> Self
Contains the data type of a column in a query result set. The data type can be scalar or complex. The supported scalar data types are integers, Boolean, string, double, timestamp, date, time, and intervals. The supported complex data types are arrays, rows, and timeseries.
sourcepub fn set_type(self, input: Option<Type>) -> Self
pub fn set_type(self, input: Option<Type>) -> Self
Contains the data type of a column in a query result set. The data type can be scalar or complex. The supported scalar data types are integers, Boolean, string, double, timestamp, date, time, and intervals. The supported complex data types are arrays, rows, and timeseries.
sourcepub fn get_type(&self) -> &Option<Type>
pub fn get_type(&self) -> &Option<Type>
Contains the data type of a column in a query result set. The data type can be scalar or complex. The supported scalar data types are integers, Boolean, string, double, timestamp, date, time, and intervals. The supported complex data types are arrays, rows, and timeseries.
sourcepub fn build(self) -> ParameterMapping
pub fn build(self) -> ParameterMapping
Consumes the builder and constructs a ParameterMapping
.
Trait Implementations§
source§impl Clone for ParameterMappingBuilder
impl Clone for ParameterMappingBuilder
source§fn clone(&self) -> ParameterMappingBuilder
fn clone(&self) -> ParameterMappingBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ParameterMappingBuilder
impl Debug for ParameterMappingBuilder
source§impl Default for ParameterMappingBuilder
impl Default for ParameterMappingBuilder
source§fn default() -> ParameterMappingBuilder
fn default() -> ParameterMappingBuilder
source§impl PartialEq for ParameterMappingBuilder
impl PartialEq for ParameterMappingBuilder
source§fn eq(&self, other: &ParameterMappingBuilder) -> bool
fn eq(&self, other: &ParameterMappingBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.