Struct aws_sdk_connect::types::builders::FieldValueUnionBuilder
source · #[non_exhaustive]pub struct FieldValueUnionBuilder { /* private fields */ }
Expand description
A builder for FieldValueUnion
.
Implementations§
source§impl FieldValueUnionBuilder
impl FieldValueUnionBuilder
sourcepub fn boolean_value(self, input: bool) -> Self
pub fn boolean_value(self, input: bool) -> Self
A Boolean number value type.
sourcepub fn set_boolean_value(self, input: Option<bool>) -> Self
pub fn set_boolean_value(self, input: Option<bool>) -> Self
A Boolean number value type.
sourcepub fn get_boolean_value(&self) -> &Option<bool>
pub fn get_boolean_value(&self) -> &Option<bool>
A Boolean number value type.
sourcepub fn double_value(self, input: f64) -> Self
pub fn double_value(self, input: f64) -> Self
a Double number value type.
sourcepub fn set_double_value(self, input: Option<f64>) -> Self
pub fn set_double_value(self, input: Option<f64>) -> Self
a Double number value type.
sourcepub fn get_double_value(&self) -> &Option<f64>
pub fn get_double_value(&self) -> &Option<f64>
a Double number value type.
sourcepub fn empty_value(self, input: EmptyFieldValue) -> Self
pub fn empty_value(self, input: EmptyFieldValue) -> Self
An empty value.
sourcepub fn set_empty_value(self, input: Option<EmptyFieldValue>) -> Self
pub fn set_empty_value(self, input: Option<EmptyFieldValue>) -> Self
An empty value.
sourcepub fn get_empty_value(&self) -> &Option<EmptyFieldValue>
pub fn get_empty_value(&self) -> &Option<EmptyFieldValue>
An empty value.
sourcepub fn string_value(self, input: impl Into<String>) -> Self
pub fn string_value(self, input: impl Into<String>) -> Self
String value type.
sourcepub fn set_string_value(self, input: Option<String>) -> Self
pub fn set_string_value(self, input: Option<String>) -> Self
String value type.
sourcepub fn get_string_value(&self) -> &Option<String>
pub fn get_string_value(&self) -> &Option<String>
String value type.
sourcepub fn build(self) -> FieldValueUnion
pub fn build(self) -> FieldValueUnion
Consumes the builder and constructs a FieldValueUnion
.
Trait Implementations§
source§impl Clone for FieldValueUnionBuilder
impl Clone for FieldValueUnionBuilder
source§fn clone(&self) -> FieldValueUnionBuilder
fn clone(&self) -> FieldValueUnionBuilder
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 FieldValueUnionBuilder
impl Debug for FieldValueUnionBuilder
source§impl Default for FieldValueUnionBuilder
impl Default for FieldValueUnionBuilder
source§fn default() -> FieldValueUnionBuilder
fn default() -> FieldValueUnionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for FieldValueUnionBuilder
impl PartialEq for FieldValueUnionBuilder
source§fn eq(&self, other: &FieldValueUnionBuilder) -> bool
fn eq(&self, other: &FieldValueUnionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FieldValueUnionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for FieldValueUnionBuilder
impl Send for FieldValueUnionBuilder
impl Sync for FieldValueUnionBuilder
impl Unpin for FieldValueUnionBuilder
impl UnwindSafe for FieldValueUnionBuilder
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.