pub struct Balance {
pub spendable: u128,
pub frozen: u128,
pub expiring: u128,
pub unknown: u128,
pub outgoing: u128,
pub expected: u128,
pub unconfirmed: u128,
}Expand description
Value a holder has at one mint, by what it can do now.
Fields§
§spendable: u128Can be spent now.
frozen: u128In the last layer: spendable after the next rotation.
expiring: u128Part of the above that dies at the next rotation unless refreshed.
unknown: u128In notes the view cannot place: read the mint’s info again.
outgoing: u128In notes spent by transfers not yet answered.
expected: u128Expected from keys handed out and not yet paid.
unconfirmed: u128Change of transfers dropped or cancelled, which comes only if the
counterparty hands it over: see Holder::forget.
Trait Implementations§
impl Copy for Balance
Source§impl<'de> Deserialize<'de> for Balance
impl<'de> Deserialize<'de> for Balance
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
impl Eq for Balance
impl StructuralPartialEq for Balance
Auto Trait Implementations§
impl Freeze for Balance
impl RefUnwindSafe for Balance
impl Send for Balance
impl Sync for Balance
impl Unpin for Balance
impl UnsafeUnpin for Balance
impl UnwindSafe for Balance
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