Struct helium_api::accounts::Account[][src]

pub struct Account {
    pub address: String,
    pub balance: Hnt,
    pub dc_balance: u64,
    pub sec_balance: Hst,
    pub nonce: u64,
    pub speculative_nonce: u64,
    pub speculative_sec_nonce: u64,
}

Represents a wallet on the blockchain.

Fields

address: String

The wallet address is the base58 check-encoded public key of the wallet.

balance: Hnt

The latest balance of the wallet known to the API

dc_balance: u64

The data credit balance of the wallet known to the API

sec_balance: Hst

The security token balance of the wallet known to the API

nonce: u64

The current nonce for the account

speculative_nonce: u64

The speculative nonce for the account

speculative_sec_nonce: u64

The speculative security nonce for the account

Trait Implementations

impl Clone for Account[src]

impl Debug for Account[src]

impl<'de> Deserialize<'de> for Account[src]

impl Serialize for Account[src]

Auto Trait Implementations

impl RefUnwindSafe for Account

impl Send for Account

impl Sync for Account

impl Unpin for Account

impl UnwindSafe for Account

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.