Struct stellar_client::resources::Account [−][src]
pub struct Account { /* fields omitted */ }In the Stellar network, users interact using accounts which can be controlled by a corresponding keypair that can authorize transactions.
https://www.stellar.org/developers/horizon/reference/resources/account.html
Methods
impl Account[src]
impl Accountpub fn id_ref(&self) -> &str[src]
pub fn id_ref(&self) -> &strThe canonical id of this account, suitable for use as the :id parameter for url templates that require an account’s ID. Returns a slice that lives as long as the account does.
pub fn account_id_ref(&self) -> &str[src]
pub fn account_id_ref(&self) -> &strThe account’s public key encoded into a base32 string representation. Returns a slice that lives as long as the account does.
pub fn id(&self) -> &String[src]
pub fn id(&self) -> &StringThe canonical id of this account, suitable for use as the :id parameter for url templates that require an account’s ID.
pub fn account_id(&self) -> &String[src]
pub fn account_id(&self) -> &StringThe account’s public key encoded into a base32 string representation.
pub fn sequence(&self) -> u64[src]
pub fn sequence(&self) -> u64The current sequence number that can be used when submitting a transaction from this account.
pub fn subentry_count(&self) -> u64[src]
pub fn subentry_count(&self) -> u64The number of account subentries. This number is multiplied by 0.5 to determine the minimum required balance.
pub fn data(&self) -> &HashMap<String, Base64String>[src]
pub fn data(&self) -> &HashMap<String, Base64String>A key/value store of data attached to this account.