Struct stellar_client::resources::effect::trustline::Authorized [−][src]
pub struct Authorized { /* fields omitted */ }This effect can be the result of a allow trust operation and represents the fact that an asset issuer will allow an account to hold its assets.
Methods
impl Authorized[src]
impl Authorizedpub fn new(account: String, asset: AssetIdentifier) -> Authorized[src]
pub fn new(account: String, asset: AssetIdentifier) -> AuthorizedCreates a new Trustline Authorized effect
pub fn account(&self) -> &String[src]
pub fn account(&self) -> &StringThe public address of the account that can now hold the asset
pub fn asset(&self) -> &AssetIdentifier[src]
pub fn asset(&self) -> &AssetIdentifierThe asset that can now be trusted.
Trait Implementations
impl Debug for Authorized[src]
impl Debug for Authorizedfn 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 Authorized[src]
impl Clone for Authorizedfn clone(&self) -> Authorized[src]
fn clone(&self) -> AuthorizedReturns 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 Authorized
impl Send for Authorizedimpl Sync for Authorized
impl Sync for Authorized