[−][src]Struct stellar_base::operations::CreatePassiveSellOfferOperation
Implementations
impl CreatePassiveSellOfferOperation
[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 amout.
pub fn amount_mut(&mut self) -> &mut Stroops
[src]
Retrieves a mutable reference to the operation amout.
pub fn price(&self) -> &Price
[src]
Retrieves the operation price.
pub fn price_(&mut self) -> &mut Price
[src]
Retrieves a mutable reference to the operation price.
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: &CreatePassiveSellOfferOp
) -> Result<CreatePassiveSellOfferOperation>
[src]
source_account: Option<MuxedAccount>,
x: &CreatePassiveSellOfferOp
) -> Result<CreatePassiveSellOfferOperation>
Creates from the xdr operation body.
Trait Implementations
impl Clone for CreatePassiveSellOfferOperation
[src]
pub fn clone(&self) -> CreatePassiveSellOfferOperation
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CreatePassiveSellOfferOperation
[src]
impl Eq for CreatePassiveSellOfferOperation
[src]
impl PartialEq<CreatePassiveSellOfferOperation> for CreatePassiveSellOfferOperation
[src]
pub fn eq(&self, other: &CreatePassiveSellOfferOperation) -> bool
[src]
pub fn ne(&self, other: &CreatePassiveSellOfferOperation) -> bool
[src]
impl StructuralEq for CreatePassiveSellOfferOperation
[src]
impl StructuralPartialEq for CreatePassiveSellOfferOperation
[src]
Auto Trait Implementations
impl RefUnwindSafe for CreatePassiveSellOfferOperation
[src]
impl Send for CreatePassiveSellOfferOperation
[src]
impl Sync for CreatePassiveSellOfferOperation
[src]
impl Unpin for CreatePassiveSellOfferOperation
[src]
impl UnwindSafe for CreatePassiveSellOfferOperation
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,