Struct stellar_client::resources::effect::account::Credited [−][src]
pub struct Credited { /* 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 added to an account
Methods
impl Credited[src]
impl Creditedpub fn new(account: String, amount: Amount, asset: AssetIdentifier) -> Credited[src]
pub fn new(account: String, amount: Amount, asset: AssetIdentifier) -> CreditedCreates a new Credited 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 Credited[src]
impl Debug for Creditedfn 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 Credited[src]
impl Clone for Credited