Struct stellar_base::operations::ManageSellOfferOperation
source · pub struct ManageSellOfferOperation { /* private fields */ }
Implementations§
source§impl ManageSellOfferOperation
impl ManageSellOfferOperation
sourcepub fn source_account(&self) -> &Option<MuxedAccount>
pub fn source_account(&self) -> &Option<MuxedAccount>
Retrieves the operation source account.
sourcepub fn source_account_mut(&mut self) -> &mut Option<MuxedAccount>
pub fn source_account_mut(&mut self) -> &mut Option<MuxedAccount>
Retrieves a reference to the operation source account.
sourcepub fn selling_mut(&mut self) -> &mut Asset
pub fn selling_mut(&mut self) -> &mut Asset
Retrieves a mutable reference to the operation seling asset.
sourcepub fn buying_mut(&mut self) -> &mut Asset
pub fn buying_mut(&mut self) -> &mut Asset
Retrieves a mutable reference to the operation buying asset.
sourcepub fn amount_mut(&mut self) -> &mut Stroops
pub fn amount_mut(&mut self) -> &mut Stroops
Retrieves a mutable reference to the operation amount.
sourcepub fn price_mut(&mut self) -> &mut Price
pub fn price_mut(&mut self) -> &mut Price
Retrieves a mutable reference to the operation price.
sourcepub fn offer_id_mut(&mut self) -> &mut Option<i64>
pub fn offer_id_mut(&mut self) -> &mut Option<i64>
Retrieves a mutable reference the operation offer id.
sourcepub fn to_xdr_operation_body(&self) -> Result<OperationBody>
pub fn to_xdr_operation_body(&self) -> Result<OperationBody>
Returns the xdr operation body.
sourcepub fn from_xdr_operation_body(
source_account: Option<MuxedAccount>,
x: &ManageSellOfferOp
) -> Result<ManageSellOfferOperation>
pub fn from_xdr_operation_body( source_account: Option<MuxedAccount>, x: &ManageSellOfferOp ) -> Result<ManageSellOfferOperation>
Creates from the xdr operation body.
Trait Implementations§
source§impl Clone for ManageSellOfferOperation
impl Clone for ManageSellOfferOperation
source§fn clone(&self) -> ManageSellOfferOperation
fn clone(&self) -> ManageSellOfferOperation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ManageSellOfferOperation
impl Debug for ManageSellOfferOperation
source§impl PartialEq for ManageSellOfferOperation
impl PartialEq for ManageSellOfferOperation
source§fn eq(&self, other: &ManageSellOfferOperation) -> bool
fn eq(&self, other: &ManageSellOfferOperation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ManageSellOfferOperation
impl StructuralEq for ManageSellOfferOperation
impl StructuralPartialEq for ManageSellOfferOperation
Auto Trait Implementations§
impl RefUnwindSafe for ManageSellOfferOperation
impl Send for ManageSellOfferOperation
impl Sync for ManageSellOfferOperation
impl Unpin for ManageSellOfferOperation
impl UnwindSafe for ManageSellOfferOperation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more