pub struct AccountBlock {
pub account: HashBytes,
pub transactions: AugDict<u64, CurrencyCollection, Lazy<Transaction>>,
pub state_update: Lazy<HashUpdate>,
}Expand description
A group of account transactions.
Fields§
§account: HashBytesAccount id.
transactions: AugDict<u64, CurrencyCollection, Lazy<Transaction>>Dictionary with fees and account transactions.
state_update: Lazy<HashUpdate>Account state hashes before and after this block.
Trait Implementations§
Source§impl Clone for AccountBlock
impl Clone for AccountBlock
Source§fn clone(&self) -> AccountBlock
fn clone(&self) -> AccountBlock
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AccountBlock
impl Debug for AccountBlock
Source§impl<'a> Load<'a> for AccountBlock
impl<'a> Load<'a> for AccountBlock
Source§impl Serialize for AccountBlock
impl Serialize for AccountBlock
Source§impl Store for AccountBlock
impl Store for AccountBlock
Source§fn store_into(
&self,
builder: &mut CellBuilder,
context: &dyn CellContext,
) -> Result<(), Error>
fn store_into( &self, builder: &mut CellBuilder, context: &dyn CellContext, ) -> Result<(), Error>
Tries to store itself into the cell builder.
Auto Trait Implementations§
impl Freeze for AccountBlock
impl !RefUnwindSafe for AccountBlock
impl Send for AccountBlock
impl Sync for AccountBlock
impl Unpin for AccountBlock
impl !UnwindSafe for AccountBlock
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