Struct grin_wallet_libwallet::WalletInfo
source · pub struct WalletInfo {
pub last_confirmed_height: u64,
pub minimum_confirmations: u64,
pub total: u64,
pub amount_awaiting_finalization: u64,
pub amount_awaiting_confirmation: u64,
pub amount_immature: u64,
pub amount_currently_spendable: u64,
pub amount_locked: u64,
pub amount_reverted: u64,
}
Expand description
a contained wallet info struct, so automated tests can parse wallet info can add more fields here over time as needed
Fields§
§last_confirmed_height: u64
height from which info was taken
minimum_confirmations: u64
Minimum number of confirmations for an output to be treated as “spendable”.
total: u64
total amount in the wallet
amount_awaiting_finalization: u64
amount awaiting finalization
amount_awaiting_confirmation: u64
amount awaiting confirmation
amount_immature: u64
coinbases waiting for lock height
amount_currently_spendable: u64
amount currently spendable
amount_locked: u64
amount locked via previous transactions
amount_reverted: u64
amount previously confirmed, now reverted
Trait Implementations§
source§impl Clone for WalletInfo
impl Clone for WalletInfo
source§fn clone(&self) -> WalletInfo
fn clone(&self) -> WalletInfo
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 WalletInfo
impl Debug for WalletInfo
source§impl<'de> Deserialize<'de> for WalletInfo
impl<'de> Deserialize<'de> for WalletInfo
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
source§impl PartialEq for WalletInfo
impl PartialEq for WalletInfo
source§fn eq(&self, other: &WalletInfo) -> bool
fn eq(&self, other: &WalletInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WalletInfo
impl Serialize for WalletInfo
impl Eq for WalletInfo
impl StructuralPartialEq for WalletInfo
Auto Trait Implementations§
impl Freeze for WalletInfo
impl RefUnwindSafe for WalletInfo
impl Send for WalletInfo
impl Sync for WalletInfo
impl Unpin for WalletInfo
impl UnwindSafe for WalletInfo
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<'a, T> DefaultFeatures<'a> for T
impl<'a, T> DefaultFeatures<'a> for T
source§fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
source§fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.