Struct stellar_client::resources::operation::AllowTrust [−][src]
pub struct AllowTrust { /* fields omitted */ }Updates the “authorized” flag of an existing trust line this is called by the issuer of the asset.
Heads up! Unless the issuing account has AUTH_REVOCABLE_FLAG set than the “authorized” flag can only be set and never cleared.
Methods
impl AllowTrust[src]
impl AllowTrustpub fn new(
trustee: String,
trustor: String,
asset: AssetIdentifier,
authorize: bool
) -> AllowTrust[src]
pub fn new(
trustee: String,
trustor: String,
asset: AssetIdentifier,
authorize: bool
) -> AllowTrustCreates a new AllowTrust
pub fn trustee(&self) -> &str[src]
pub fn trustee(&self) -> &strTrustee account.
pub fn trustor(&self) -> &str[src]
pub fn trustor(&self) -> &strTrustor account.
pub fn asset(&self) -> &AssetIdentifier[src]
pub fn asset(&self) -> &AssetIdentifierAsset being trusted.
true when trust allowed; false when revoked
Trait Implementations
impl Debug for AllowTrust[src]
impl Debug for AllowTrustfn 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 AllowTrust[src]
impl Clone for AllowTrustfn clone(&self) -> AllowTrust[src]
fn clone(&self) -> AllowTrustReturns 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 AllowTrust
impl Send for AllowTrustimpl Sync for AllowTrust
impl Sync for AllowTrust