Struct shuttle_sdk::Account
[−]
[src]
pub struct Account { /* fields omitted */ }Account represents a single account in the Stellar network and its sequence number.
Methods
impl Account[src]
fn new(account_id: PublicKey, sequence: u64) -> Account[src]
Create with account_id and sequence number.
fn account_id(&self) -> &PublicKey[src]
Return the account public key.
fn increment_sequence(&mut self) -> u64[src]
Increments the sequence number, returns the old sequence number.
fn sequence(&self) -> u64[src]
Returns the sequence number.
Trait Implementations
impl Clone for Account[src]
fn clone(&self) -> Account[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more