Struct aws_sdk_timestreamquery::types::builders::DatumBuilder
source · #[non_exhaustive]pub struct DatumBuilder { /* private fields */ }
Expand description
A builder for Datum
.
Implementations§
source§impl DatumBuilder
impl DatumBuilder
sourcepub fn scalar_value(self, input: impl Into<String>) -> Self
pub fn scalar_value(self, input: impl Into<String>) -> Self
Indicates if the data point is a scalar value such as integer, string, double, or Boolean.
sourcepub fn set_scalar_value(self, input: Option<String>) -> Self
pub fn set_scalar_value(self, input: Option<String>) -> Self
Indicates if the data point is a scalar value such as integer, string, double, or Boolean.
sourcepub fn get_scalar_value(&self) -> &Option<String>
pub fn get_scalar_value(&self) -> &Option<String>
Indicates if the data point is a scalar value such as integer, string, double, or Boolean.
sourcepub fn time_series_value(self, input: TimeSeriesDataPoint) -> Self
pub fn time_series_value(self, input: TimeSeriesDataPoint) -> Self
Appends an item to time_series_value
.
To override the contents of this collection use set_time_series_value
.
Indicates if the data point is a timeseries data type.
sourcepub fn set_time_series_value(
self,
input: Option<Vec<TimeSeriesDataPoint>>,
) -> Self
pub fn set_time_series_value( self, input: Option<Vec<TimeSeriesDataPoint>>, ) -> Self
Indicates if the data point is a timeseries data type.
sourcepub fn get_time_series_value(&self) -> &Option<Vec<TimeSeriesDataPoint>>
pub fn get_time_series_value(&self) -> &Option<Vec<TimeSeriesDataPoint>>
Indicates if the data point is a timeseries data type.
sourcepub fn array_value(self, input: Datum) -> Self
pub fn array_value(self, input: Datum) -> Self
Appends an item to array_value
.
To override the contents of this collection use set_array_value
.
Indicates if the data point is an array.
sourcepub fn set_array_value(self, input: Option<Vec<Datum>>) -> Self
pub fn set_array_value(self, input: Option<Vec<Datum>>) -> Self
Indicates if the data point is an array.
sourcepub fn get_array_value(&self) -> &Option<Vec<Datum>>
pub fn get_array_value(&self) -> &Option<Vec<Datum>>
Indicates if the data point is an array.
sourcepub fn set_row_value(self, input: Option<Row>) -> Self
pub fn set_row_value(self, input: Option<Row>) -> Self
Indicates if the data point is a row.
sourcepub fn get_row_value(&self) -> &Option<Row>
pub fn get_row_value(&self) -> &Option<Row>
Indicates if the data point is a row.
sourcepub fn null_value(self, input: bool) -> Self
pub fn null_value(self, input: bool) -> Self
Indicates if the data point is null.
sourcepub fn set_null_value(self, input: Option<bool>) -> Self
pub fn set_null_value(self, input: Option<bool>) -> Self
Indicates if the data point is null.
sourcepub fn get_null_value(&self) -> &Option<bool>
pub fn get_null_value(&self) -> &Option<bool>
Indicates if the data point is null.
Trait Implementations§
source§impl Clone for DatumBuilder
impl Clone for DatumBuilder
source§fn clone(&self) -> DatumBuilder
fn clone(&self) -> DatumBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DatumBuilder
impl Debug for DatumBuilder
source§impl Default for DatumBuilder
impl Default for DatumBuilder
source§fn default() -> DatumBuilder
fn default() -> DatumBuilder
source§impl PartialEq for DatumBuilder
impl PartialEq for DatumBuilder
source§fn eq(&self, other: &DatumBuilder) -> bool
fn eq(&self, other: &DatumBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DatumBuilder
Auto Trait Implementations§
impl Freeze for DatumBuilder
impl RefUnwindSafe for DatumBuilder
impl Send for DatumBuilder
impl Sync for DatumBuilder
impl Unpin for DatumBuilder
impl UnwindSafe for DatumBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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