pub struct ClaimOfferAtom {
pub seller_id: PublicKey,
pub offer_id: i64,
pub asset_sold: Asset,
pub amount_sold: Stroops,
pub asset_bought: Asset,
pub amount_bought: Stroops,
}Fields§
§seller_id: PublicKey§offer_id: i64§asset_sold: Asset§amount_sold: Stroops§asset_bought: Asset§amount_bought: StroopsImplementations§
Source§impl ClaimOfferAtom
impl ClaimOfferAtom
pub fn from_xdr(x: &ClaimOfferAtom) -> Result<ClaimOfferAtom>
pub fn from_xdr_v0(x: &ClaimOfferAtomV0) -> Result<ClaimOfferAtom>
Trait Implementations§
Source§impl Clone for ClaimOfferAtom
impl Clone for ClaimOfferAtom
Source§fn clone(&self) -> ClaimOfferAtom
fn clone(&self) -> ClaimOfferAtom
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 ClaimOfferAtom
impl Debug for ClaimOfferAtom
Source§impl PartialEq for ClaimOfferAtom
impl PartialEq for ClaimOfferAtom
impl Eq for ClaimOfferAtom
impl StructuralPartialEq for ClaimOfferAtom
Auto Trait Implementations§
impl Freeze for ClaimOfferAtom
impl RefUnwindSafe for ClaimOfferAtom
impl Send for ClaimOfferAtom
impl Sync for ClaimOfferAtom
impl Unpin for ClaimOfferAtom
impl UnwindSafe for ClaimOfferAtom
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