pub struct BalanceAmount {
pub amount: i64,
pub currency: Currency,
pub source_types: Option<BalanceAmountBySourceType>,
}
Fields§
§amount: i64
Balance amount.
currency: Currency
Three-letter ISO currency code, in lowercase.
Must be a supported currency.
source_types: Option<BalanceAmountBySourceType>
Trait Implementations§
source§impl Clone for BalanceAmount
impl Clone for BalanceAmount
source§fn clone(&self) -> BalanceAmount
fn clone(&self) -> BalanceAmount
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 BalanceAmount
impl Debug for BalanceAmount
source§impl Default for BalanceAmount
impl Default for BalanceAmount
source§fn default() -> BalanceAmount
fn default() -> BalanceAmount
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BalanceAmount
impl<'de> Deserialize<'de> for BalanceAmount
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for BalanceAmount
impl Send for BalanceAmount
impl Sync for BalanceAmount
impl Unpin for BalanceAmount
impl UnwindSafe for BalanceAmount
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