Struct everscale_types::models::shard::DepthBalanceInfo
source · 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 Clone for DepthBalanceInfo
impl Clone for DepthBalanceInfo
source§fn clone(&self) -> DepthBalanceInfo
fn clone(&self) -> DepthBalanceInfo
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 DepthBalanceInfo
impl Debug for DepthBalanceInfo
source§impl<'a> Load<'a> for DepthBalanceInfo
impl<'a> Load<'a> for DepthBalanceInfo
source§impl PartialEq<DepthBalanceInfo> for DepthBalanceInfo
impl PartialEq<DepthBalanceInfo> for DepthBalanceInfo
source§fn eq(&self, other: &DepthBalanceInfo) -> bool
fn eq(&self, other: &DepthBalanceInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Store for DepthBalanceInfo
impl Store for DepthBalanceInfo
source§fn store_into(
&self,
builder: &mut CellBuilder,
finalizer: &mut dyn Finalizer
) -> Result<(), Error>
fn store_into( &self, builder: &mut CellBuilder, finalizer: &mut dyn Finalizer ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl Eq for DepthBalanceInfo
impl StructuralEq for DepthBalanceInfo
impl StructuralPartialEq for DepthBalanceInfo
Auto Trait Implementations§
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