Struct aws_sdk_sagemaker::types::Usd
source · #[non_exhaustive]pub struct Usd {
pub dollars: Option<i32>,
pub cents: Option<i32>,
pub tenth_fractions_of_a_cent: Option<i32>,
}
Expand description
Represents an amount of money in United States dollars.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.dollars: Option<i32>
The whole number of dollars in the amount.
cents: Option<i32>
The fractional portion, in cents, of the amount.
tenth_fractions_of_a_cent: Option<i32>
Fractions of a cent, in tenths.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Usd
Auto Trait Implementations§
impl RefUnwindSafe for Usd
impl Send for Usd
impl Sync for Usd
impl Unpin for Usd
impl UnwindSafe for Usd
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.