pub struct ManageBuyOfferOperation { /* private fields */ }Implementations§
Source§impl ManageBuyOfferOperation
impl ManageBuyOfferOperation
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 buy_amount(&self) -> &Stroops
pub fn buy_amount(&self) -> &Stroops
Retrieves the operation buy amount.
Sourcepub fn buy_amount_mut(&mut self) -> &mut Stroops
pub fn buy_amount_mut(&mut self) -> &mut Stroops
Retrieves a mutable reference to the operation buy 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: &ManageBuyOfferOp,
) -> Result<ManageBuyOfferOperation>
pub fn from_xdr_operation_body( source_account: Option<MuxedAccount>, x: &ManageBuyOfferOp, ) -> Result<ManageBuyOfferOperation>
Creates from xdr operation body.
Trait Implementations§
Source§impl Clone for ManageBuyOfferOperation
impl Clone for ManageBuyOfferOperation
Source§fn clone(&self) -> ManageBuyOfferOperation
fn clone(&self) -> ManageBuyOfferOperation
Returns a duplicate 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 ManageBuyOfferOperation
impl Debug for ManageBuyOfferOperation
Source§impl PartialEq for ManageBuyOfferOperation
impl PartialEq for ManageBuyOfferOperation
impl Eq for ManageBuyOfferOperation
impl StructuralPartialEq for ManageBuyOfferOperation
Auto Trait Implementations§
impl Freeze for ManageBuyOfferOperation
impl RefUnwindSafe for ManageBuyOfferOperation
impl Send for ManageBuyOfferOperation
impl Sync for ManageBuyOfferOperation
impl Unpin for ManageBuyOfferOperation
impl UnwindSafe for ManageBuyOfferOperation
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