[][src]Struct stellar_base::operations::PathPaymentStrictSendOperation

pub struct PathPaymentStrictSendOperation { /* fields omitted */ }

Implementations

impl PathPaymentStrictSendOperation[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 the operation destination.

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

Retrieves the operation send asset.

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

Retrieves a mutable reference to the operation send asset.

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

Retrieves the operation send amount.

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

Retrieves a mutable reference to the operation send amount.

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_min(&self) -> &Stroops[src]

Retrieves the operation destination min.

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

Retrieves a mutable reference to the operation destination min.

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 to the xdr operation body.

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

Creates from the xdr operation body.

Trait Implementations

impl Clone for PathPaymentStrictSendOperation[src]

impl Debug for PathPaymentStrictSendOperation[src]

impl Eq for PathPaymentStrictSendOperation[src]

impl PartialEq<PathPaymentStrictSendOperation> for PathPaymentStrictSendOperation[src]

impl StructuralEq for PathPaymentStrictSendOperation[src]

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