Struct stellar_client::resources::effect::account::Debited [−][src]
pub struct Debited { /* fields omitted */ }This effect can be the result of a create_account, payment, path_payment or merge_account operation. It represents the fact that assets were removed to an account
Methods
impl Debited[src]
impl Debitedpub fn new(account: String, amount: Amount, asset: AssetIdentifier) -> Debited[src]
pub fn new(account: String, amount: Amount, asset: AssetIdentifier) -> DebitedCreates a new Debited effect
pub fn account(&self) -> &String[src]
pub fn account(&self) -> &StringThe public address of the account that was removed
pub fn asset(&self) -> &AssetIdentifier[src]
pub fn asset(&self) -> &AssetIdentifierThe asset being sent in the payment
pub fn amount(&self) -> Amount[src]
pub fn amount(&self) -> AmountThe amount being sent in the payment
Trait Implementations
impl Debug for Debited[src]
impl Debug for Debitedfn 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 Debited[src]
impl Clone for Debited