[][src]Struct stellar_base::operations::ChangeTrustOperation

pub struct ChangeTrustOperation { /* fields omitted */ }

Implementations

impl ChangeTrustOperation[src]

pub fn source_account(&self) -> &Option<MuxedAccount>[src]

Retrieves the operation source account.

pub fn source_account_mut(&mut self) -> &mut Option<MuxedAccount>[src]

Retrieves a reference to the operation source account.

pub fn asset(&self) -> &Asset[src]

Retrieves the operation asset.

pub fn asset_mut(&mut self) -> &mut Asset[src]

Retrieves a mutable reference the operation asset.

pub fn limit(&self) -> &Option<Stroops>[src]

Retrieves the operation limit.

pub fn limit_mut(&mut self) -> &mut Option<Stroops>[src]

Retrieves a mutable reference to the operation limit.

pub fn to_xdr_operation_body(&self) -> Result<OperationBody>[src]

Returns the xdr operation body.

pub fn from_xdr_operation_body(
    source_account: Option<MuxedAccount>,
    x: &ChangeTrustOp
) -> Result<ChangeTrustOperation>
[src]

Creates from the xdr operatino body.

Trait Implementations

impl Clone for ChangeTrustOperation[src]

impl Debug for ChangeTrustOperation[src]

impl Eq for ChangeTrustOperation[src]

impl PartialEq<ChangeTrustOperation> for ChangeTrustOperation[src]

impl StructuralEq for ChangeTrustOperation[src]

impl StructuralPartialEq for ChangeTrustOperation[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.