pub struct ImportanceBlockFooterBuilder { /* private fields */ }
Expand description
Binary layout for an importance block footer.
Implementations§
Sourcepub fn from_binary(_bytes: &[u8]) -> Self
pub fn from_binary(_bytes: &[u8]) -> Self
Creates an instance of ImportanceBlockFooterBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A ImportanceBlockFooterBuilder.
Sourcepub fn get_voting_eligible_accounts_count(&self) -> u32
pub fn get_voting_eligible_accounts_count(&self) -> u32
Sourcepub fn get_harvesting_eligible_accounts_count(&self) -> u64
pub fn get_harvesting_eligible_accounts_count(&self) -> u64
Sourcepub fn get_total_voting_balance(&self) -> AmountDto
pub fn get_total_voting_balance(&self) -> AmountDto
Sourcepub fn get_previous_importance_block_hash(&self) -> Hash256Dto
pub fn get_previous_importance_block_hash(&self) -> Hash256Dto
Trait Implementations§
Source§fn clone(&self) -> ImportanceBlockFooterBuilder
fn clone(&self) -> ImportanceBlockFooterBuilder
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 moreAuto Trait Implementations§
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