[][src]Struct stellar_base::operations::ManageSellOfferOperation

pub struct ManageSellOfferOperation { /* fields omitted */ }

Implementations

impl ManageSellOfferOperation[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 selling(&self) -> &Asset[src]

Retrieves the operation seling asset.

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

Retrieves a mutable reference to the operation seling asset.

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

Retrieves the operation buying asset.

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

Retrieves a mutable reference to the operation buying asset.

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

Retrieves the operation amount.

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

Retrieves a mutable reference to the operation amount.

pub fn price(&self) -> &Price[src]

Retrieves the operation price.

pub fn price_mut(&mut self) -> &mut Price[src]

Retrieves a mutable reference to the operation price.

pub fn offer_id(&self) -> &Option<i64>[src]

Retrieves the operation offer id.

pub fn offer_id_mut(&mut self) -> &mut Option<i64>[src]

Retrieves a mutable reference the operation offer id.

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: &ManageSellOfferOp
) -> Result<ManageSellOfferOperation>
[src]

Creates from the xdr operation body.

Trait Implementations

impl Clone for ManageSellOfferOperation[src]

impl Debug for ManageSellOfferOperation[src]

impl Eq for ManageSellOfferOperation[src]

impl PartialEq<ManageSellOfferOperation> for ManageSellOfferOperation[src]

impl StructuralEq for ManageSellOfferOperation[src]

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