Struct stellar_base::operation_result::OfferEntry
source · pub struct OfferEntry {
pub seller_id: PublicKey,
pub offer_id: i64,
pub selling: Asset,
pub buying: Asset,
pub amount: Stroops,
pub price: Price,
pub flags: u32,
}
Fields§
§seller_id: PublicKey
§offer_id: i64
§selling: Asset
§buying: Asset
§amount: Stroops
§price: Price
§flags: u32
Implementations§
source§impl OfferEntry
impl OfferEntry
pub fn from_xdr(x: &OfferEntry) -> Result<OfferEntry>
Trait Implementations§
source§impl Clone for OfferEntry
impl Clone for OfferEntry
source§fn clone(&self) -> OfferEntry
fn clone(&self) -> OfferEntry
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 OfferEntry
impl Debug for OfferEntry
source§impl PartialEq for OfferEntry
impl PartialEq for OfferEntry
source§fn eq(&self, other: &OfferEntry) -> bool
fn eq(&self, other: &OfferEntry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for OfferEntry
impl StructuralEq for OfferEntry
impl StructuralPartialEq for OfferEntry
Auto Trait Implementations§
impl RefUnwindSafe for OfferEntry
impl Send for OfferEntry
impl Sync for OfferEntry
impl Unpin for OfferEntry
impl UnwindSafe for OfferEntry
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