Struct aws_sdk_glue::types::builders::DecimalNumberBuilder
source · #[non_exhaustive]pub struct DecimalNumberBuilder { /* private fields */ }Expand description
A builder for DecimalNumber.
Implementations§
source§impl DecimalNumberBuilder
impl DecimalNumberBuilder
sourcepub fn unscaled_value(self, input: Blob) -> Self
pub fn unscaled_value(self, input: Blob) -> Self
The unscaled numeric value.
This field is required.sourcepub fn set_unscaled_value(self, input: Option<Blob>) -> Self
pub fn set_unscaled_value(self, input: Option<Blob>) -> Self
The unscaled numeric value.
sourcepub fn get_unscaled_value(&self) -> &Option<Blob>
pub fn get_unscaled_value(&self) -> &Option<Blob>
The unscaled numeric value.
sourcepub fn scale(self, input: i32) -> Self
pub fn scale(self, input: i32) -> Self
The scale that determines where the decimal point falls in the unscaled value.
This field is required.sourcepub fn set_scale(self, input: Option<i32>) -> Self
pub fn set_scale(self, input: Option<i32>) -> Self
The scale that determines where the decimal point falls in the unscaled value.
sourcepub fn get_scale(&self) -> &Option<i32>
pub fn get_scale(&self) -> &Option<i32>
The scale that determines where the decimal point falls in the unscaled value.
sourcepub fn build(self) -> Result<DecimalNumber, BuildError>
pub fn build(self) -> Result<DecimalNumber, BuildError>
Consumes the builder and constructs a DecimalNumber.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DecimalNumberBuilder
impl Clone for DecimalNumberBuilder
source§fn clone(&self) -> DecimalNumberBuilder
fn clone(&self) -> DecimalNumberBuilder
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 DecimalNumberBuilder
impl Debug for DecimalNumberBuilder
source§impl Default for DecimalNumberBuilder
impl Default for DecimalNumberBuilder
source§fn default() -> DecimalNumberBuilder
fn default() -> DecimalNumberBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DecimalNumberBuilder
impl PartialEq for DecimalNumberBuilder
source§fn eq(&self, other: &DecimalNumberBuilder) -> bool
fn eq(&self, other: &DecimalNumberBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DecimalNumberBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DecimalNumberBuilder
impl Send for DecimalNumberBuilder
impl Sync for DecimalNumberBuilder
impl Unpin for DecimalNumberBuilder
impl UnwindSafe for DecimalNumberBuilder
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.