pub struct AccountStateBuilder { /* private fields */ }
Expand description
Binary layout for non-historical account state.
Implementations§
Source§impl AccountStateBuilder
impl AccountStateBuilder
Sourcepub fn from_binary(_bytes: &[u8]) -> Self
pub fn from_binary(_bytes: &[u8]) -> Self
Creates an instance of AccountStateBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A AccountStateBuilder.
Sourcepub fn get_address(&self) -> AddressDto
pub fn get_address(&self) -> AddressDto
Sourcepub fn get_address_height(&self) -> HeightDto
pub fn get_address_height(&self) -> HeightDto
Gets height at which address has been obtained.
§Returns
A Height at which address has been obtained.
Sourcepub fn get_public_key(&self) -> KeyDto
pub fn get_public_key(&self) -> KeyDto
Sourcepub fn get_public_key_height(&self) -> HeightDto
pub fn get_public_key_height(&self) -> HeightDto
Gets height at which public key has been obtained.
§Returns
A Height at which public key has been obtained.
Sourcepub fn get_account_type(&self) -> AccountTypeDto
pub fn get_account_type(&self) -> AccountTypeDto
Sourcepub fn get_format(&self) -> AccountStateFormatDto
pub fn get_format(&self) -> AccountStateFormatDto
Sourcepub fn get_supplemental_public_keys_mask(&self) -> Vec<AccountKeyTypeFlagsDto>
pub fn get_supplemental_public_keys_mask(&self) -> Vec<AccountKeyTypeFlagsDto>
Sourcepub fn get_linked_public_key(&self) -> Option<KeyDto>
pub fn get_linked_public_key(&self) -> Option<KeyDto>
Sourcepub fn get_node_public_key(&self) -> Option<KeyDto>
pub fn get_node_public_key(&self) -> Option<KeyDto>
Sourcepub fn get_vrf_public_key(&self) -> Option<KeyDto>
pub fn get_vrf_public_key(&self) -> Option<KeyDto>
Sourcepub fn get_voting_public_keys(&self) -> Vec<PinnedVotingKeyBuilder>
pub fn get_voting_public_keys(&self) -> Vec<PinnedVotingKeyBuilder>
Sourcepub fn get_importance_snapshots(&self) -> Option<ImportanceSnapshotBuilder>
pub fn get_importance_snapshots(&self) -> Option<ImportanceSnapshotBuilder>
Gets current importance snapshot of the account.
§Returns
A Current importance snapshot of the account.
Sourcepub fn get_activity_buckets(&self) -> Option<HeightActivityBucketsBuilder>
pub fn get_activity_buckets(&self) -> Option<HeightActivityBucketsBuilder>
Sourcepub fn get_balances(&self) -> Vec<MosaicBuilder>
pub fn get_balances(&self) -> Vec<MosaicBuilder>
Trait Implementations§
Source§impl Clone for AccountStateBuilder
impl Clone for AccountStateBuilder
Source§fn clone(&self) -> AccountStateBuilder
fn clone(&self) -> AccountStateBuilder
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§
impl Freeze for AccountStateBuilder
impl RefUnwindSafe for AccountStateBuilder
impl Send for AccountStateBuilder
impl Sync for AccountStateBuilder
impl Unpin for AccountStateBuilder
impl UnwindSafe for AccountStateBuilder
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