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 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 BalanceAmount
impl Debug for BalanceAmount
Source§impl Deserialize for BalanceAmount
impl Deserialize for BalanceAmount
Source§impl FromValueOpt for BalanceAmount
impl FromValueOpt for BalanceAmount
fn from_value(v: Value) -> Option<Self>
Source§impl ObjectDeser for BalanceAmount
impl ObjectDeser for BalanceAmount
impl Copy for BalanceAmount
Auto Trait Implementations§
impl Freeze for BalanceAmount
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