Struct stellar_client::resources::operation::ChangeTrust [−][src]
pub struct ChangeTrust { /* fields omitted */ }Use “Change Trust” operation to create/update/delete a trust line from the source account to another. The issuer being trusted and the asset code are in the given Asset object.
Methods
impl ChangeTrust[src]
impl ChangeTrustpub fn new(
trustee: String,
trustor: String,
asset: AssetIdentifier,
limit: Amount
) -> ChangeTrust[src]
pub fn new(
trustee: String,
trustor: String,
asset: AssetIdentifier,
limit: Amount
) -> ChangeTrustCreates a new ChangeTrust
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.
pub fn limit(&self) -> Amount[src]
pub fn limit(&self) -> AmountThe limit for the asset.
Trait Implementations
impl Debug for ChangeTrust[src]
impl Debug for ChangeTrustfn 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 ChangeTrust[src]
impl Clone for ChangeTrustfn clone(&self) -> ChangeTrust[src]
fn clone(&self) -> ChangeTrustReturns 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 ChangeTrust
impl Send for ChangeTrustimpl Sync for ChangeTrust
impl Sync for ChangeTrust