Struct stellar_client::resources::operation::CreateAccount [−][src]
pub struct CreateAccount { /* fields omitted */ }A create account operation represents a new account creation.
Methods
impl CreateAccount[src]
impl CreateAccountpub fn new(
account: String,
funder: String,
starting_balance: Amount
) -> CreateAccount[src]
pub fn new(
account: String,
funder: String,
starting_balance: Amount
) -> CreateAccountCreates a new CreateAccount
pub fn account(&self) -> &str[src]
pub fn account(&self) -> &strThe public address of a new account that was funded.
pub fn funder(&self) -> &str[src]
pub fn funder(&self) -> &strThe public address of the account that funded a new account.
pub fn starting_balance(&self) -> Amount[src]
pub fn starting_balance(&self) -> AmountAmount the account was funded.
Trait Implementations
impl Debug for CreateAccount[src]
impl Debug for CreateAccountfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for CreateAccount[src]
impl Clone for CreateAccountfn clone(&self) -> CreateAccount[src]
fn clone(&self) -> CreateAccountReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Send for CreateAccount
impl Send for CreateAccountimpl Sync for CreateAccount
impl Sync for CreateAccount