Struct aws_sdk_iotsitewise::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 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
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 DatumBuilder
impl Debug for DatumBuilder
source§impl Default for DatumBuilder
impl Default for DatumBuilder
source§fn default() -> DatumBuilder
fn default() -> DatumBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DatumBuilder
impl PartialEq for DatumBuilder
source§fn eq(&self, other: &DatumBuilder) -> bool
fn eq(&self, other: &DatumBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DatumBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.