Struct concordium_std::AccountBalance
source · pub struct AccountBalance {
pub total: Amount,
pub staked: Amount,
pub locked: Amount,
}
Expand description
The current public balances of an account.
Fields§
§total: Amount
The total balance of the account. Note that part of this balance might be staked and/or locked in scheduled transfers.
staked: Amount
The current staked amount of the account. This amount is used for staking.
locked: Amount
The current amount locked in releases that resulted from transfers with schedule. A locked amount can still be used for staking.
Implementations§
Trait Implementations§
source§impl Clone for AccountBalance
impl Clone for AccountBalance
source§fn clone(&self) -> AccountBalance
fn clone(&self) -> AccountBalance
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 more