pub struct CostsResult_Amount {
pub value: Option<f64>,
pub currency: Option<String>,
}
Expand description
The monetary value in its associated currency.
Fields§
§value: Option<f64>
The numeric value of the cost.
currency: Option<String>
Lowercase ISO-4217 currency e.g.
Trait Implementations§
Source§impl Clone for CostsResult_Amount
impl Clone for CostsResult_Amount
Source§fn clone(&self) -> CostsResult_Amount
fn clone(&self) -> CostsResult_Amount
Returns a duplicate 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 CostsResult_Amount
impl Debug for CostsResult_Amount
Source§impl Default for CostsResult_Amount
impl Default for CostsResult_Amount
Source§fn default() -> CostsResult_Amount
fn default() -> CostsResult_Amount
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CostsResult_Amount
impl RefUnwindSafe for CostsResult_Amount
impl Send for CostsResult_Amount
impl Sync for CostsResult_Amount
impl Unpin for CostsResult_Amount
impl UnwindSafe for CostsResult_Amount
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