Struct stack_epic_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,
}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: u64height from which info was taken
minimum_confirmations: u64Minimum number of confirmations for an output to be treated as “spendable”.
total: u64total amount in the wallet
amount_awaiting_finalization: u64amount awaiting finalization
amount_awaiting_confirmation: u64amount awaiting confirmation
amount_immature: u64coinbases waiting for lock height
amount_currently_spendable: u64amount currently spendable
amount_locked: u64amount locked via previous transactions
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 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
§impl<T> CloneAny for T
impl<T> CloneAny for T
§impl<'a, T> DefaultFeatures<'a> for T
impl<'a, T> DefaultFeatures<'a> for T
§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.§fn self_address_mut(&mut self) -> *mut ()
fn self_address_mut(&mut self) -> *mut ()
Returns the address of
self. Read moresource§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.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
§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.§fn self_address_mut(&mut self) -> *mut ()
fn self_address_mut(&mut self) -> *mut ()
Returns the address of
self. Read more§impl<T> SafeBorrow<T> for Twhere
T: ?Sized,
impl<T> SafeBorrow<T> for Twhere
T: ?Sized,
§fn borrow_replacement(ptr: &T) -> &T
fn borrow_replacement(ptr: &T) -> &T
Given
ptr, which was obtained from a prior call to Self::borrow(),
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self. Read more