pub struct BalanceInfo {
pub currency: String,
pub total_balance: String,
pub granted_balance: String,
pub topped_up_balance: String,
}Expand description
Information about the balance of a user.
Fields§
§currency: StringCurrency type.
total_balance: StringTotal balance available.
granted_balance: StringGranted balance.
topped_up_balance: StringTopped up balance.
Trait Implementations§
Source§impl Clone for BalanceInfo
impl Clone for BalanceInfo
Source§fn clone(&self) -> BalanceInfo
fn clone(&self) -> BalanceInfo
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 BalanceInfo
impl Debug for BalanceInfo
Source§impl<'de> Deserialize<'de> for BalanceInfo
impl<'de> Deserialize<'de> for BalanceInfo
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 Freeze for BalanceInfo
impl RefUnwindSafe for BalanceInfo
impl Send for BalanceInfo
impl Sync for BalanceInfo
impl Unpin for BalanceInfo
impl UnwindSafe for BalanceInfo
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