pub struct DepthBalanceInfo {
pub split_depth: u8,
pub balance: CurrencyCollection,
}Expand description
Intermediate balance info.
Fields§
§split_depth: u8Depth for which the balance was calculated.
balance: CurrencyCollectionTotal balance for a subtree.
Implementations§
Trait Implementations§
Source§impl AugDictExtra for DepthBalanceInfo
impl AugDictExtra for DepthBalanceInfo
Source§impl Clone for DepthBalanceInfo
impl Clone for DepthBalanceInfo
Source§fn clone(&self) -> DepthBalanceInfo
fn clone(&self) -> DepthBalanceInfo
Returns a duplicate 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 DepthBalanceInfo
impl Debug for DepthBalanceInfo
Source§impl Default for DepthBalanceInfo
impl Default for DepthBalanceInfo
Source§fn default() -> DepthBalanceInfo
fn default() -> DepthBalanceInfo
Returns the “default value” for a type. Read more
Source§impl<'a> Load<'a> for DepthBalanceInfo
impl<'a> Load<'a> for DepthBalanceInfo
Source§impl PartialEq for DepthBalanceInfo
impl PartialEq for DepthBalanceInfo
Source§impl Store for DepthBalanceInfo
impl Store for DepthBalanceInfo
Source§fn store_into(
&self,
builder: &mut CellBuilder,
context: &mut dyn CellContext,
) -> Result<(), Error>
fn store_into( &self, builder: &mut CellBuilder, context: &mut dyn CellContext, ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl Eq for DepthBalanceInfo
impl StructuralPartialEq for DepthBalanceInfo
Auto Trait Implementations§
impl Freeze for DepthBalanceInfo
impl !RefUnwindSafe for DepthBalanceInfo
impl Send for DepthBalanceInfo
impl Sync for DepthBalanceInfo
impl Unpin for DepthBalanceInfo
impl !UnwindSafe for DepthBalanceInfo
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<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
Compares
self to key and returns true if they are equal.