[][src]Struct stellar_base::operations::PathPaymentStrictReceiveOperation

pub struct PathPaymentStrictReceiveOperation { /* fields omitted */ }

Implementations

impl PathPaymentStrictReceiveOperation[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 destination(&self) -> &MuxedAccount[src]

Retrieves the operation destination.

pub fn destination_mut(&mut self) -> &mut MuxedAccount[src]

Retrieves a mutable reference to the operation destination.

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

Retrieves the operatino send asset.

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

Retrieves a mutable reference to the operatino send asset.

pub fn send_max(&self) -> &Stroops[src]

Retrieves the operation send max.

pub fn send_max_mut(&mut self) -> &mut Stroops[src]

Retrieves a mutable reference to the operation send max.

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

Retrieves the operation destination asset.

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

Retrieves a mutable reference to the operation destination asset.

pub fn destination_amount(&self) -> &Stroops[src]

Retrieves the operation destination amount.

pub fn destination_amount_mut(&mut self) -> &mut Stroops[src]

Retrieves a mutable reference to the operation destination amount.

pub fn path(&self) -> &Vec<Asset>[src]

Retrieves the operation path.

pub fn path_mut(&mut self) -> &mut Vec<Asset>[src]

Retrieves a mutable reference to the operation path.

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: &PathPaymentStrictReceiveOp
) -> Result<PathPaymentStrictReceiveOperation>
[src]

Creates from the xdr operation body.

Trait Implementations

impl Clone for PathPaymentStrictReceiveOperation[src]

impl Debug for PathPaymentStrictReceiveOperation[src]

impl Eq for PathPaymentStrictReceiveOperation[src]

impl PartialEq<PathPaymentStrictReceiveOperation> for PathPaymentStrictReceiveOperation[src]

impl StructuralEq for PathPaymentStrictReceiveOperation[src]

impl StructuralPartialEq for PathPaymentStrictReceiveOperation[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.