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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more