Struct terra_rust_api::client::auth_types::AuthAccount[][src]

pub struct AuthAccount {
    pub address: String,
    pub coins: Vec<Coin>,
    pub public_key: Option<PubKeySig>,
    pub account_number: u64,
    pub sequence: u64,
}
Expand description

This structure serves a few purposes one.. to get the public key (which can be used to validate our private key calcs two.. the account number and sequence fields that are used to generate a signed message

Fields

address: String

The account address

coins: Vec<Coin>

The balance in the account. Does not include delegated coins

public_key: Option<PubKeySig>

The public key of the account

account_number: u64

The account number

sequence: u64

The sequence. This is used to avoid ‘double transmitting’ a transaction

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.