pub struct Balance {
pub spendable: Amount,
pub pending_lightning_send: Amount,
pub pending_lightning_receive: LightningReceiveBalance,
pub pending_in_round: Amount,
pub pending_exit: Option<Amount>,
pub pending_board: Amount,
}Expand description
The different balances of a Bark wallet.
Fields§
§spendable: AmountCoins that are spendable in the Ark, either in-round or out-of-round.
pending_lightning_send: AmountCoins that are in the process of being sent over Lightning.
pending_lightning_receive: LightningReceiveBalanceCoins that are in the process of being received over Lightning.
pending_in_round: AmountCoins locked in a round.
pending_exit: Option<Amount>Coins that are in the process of unilaterally exiting the Ark. None if exit subsystem was unavailable
pending_board: AmountCoins that are pending sufficient confirmations from board transactions.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Balance
impl RefUnwindSafe for Balance
impl Send for Balance
impl Sync for Balance
impl Unpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request