Struct aws_sdk_sagemaker::types::Usd
source · #[non_exhaustive]pub struct Usd {
pub dollars: i32,
pub cents: i32,
pub tenth_fractions_of_a_cent: 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: i32
The whole number of dollars in the amount.
cents: i32
The fractional portion, in cents, of the amount.
tenth_fractions_of_a_cent: 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