Struct soroban_env_guest::xdr::ClaimLiquidityAtom
pub struct ClaimLiquidityAtom {
pub liquidity_pool_id: PoolId,
pub asset_sold: Asset,
pub amount_sold: i64,
pub asset_bought: Asset,
pub amount_bought: i64,
}
Fields§
§liquidity_pool_id: PoolId
§asset_sold: Asset
§amount_sold: i64
§asset_bought: Asset
§amount_bought: i64
Trait Implementations§
§impl Clone for ClaimLiquidityAtom
impl Clone for ClaimLiquidityAtom
§fn clone(&self) -> ClaimLiquidityAtom
fn clone(&self) -> ClaimLiquidityAtom
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 more§impl Debug for ClaimLiquidityAtom
impl Debug for ClaimLiquidityAtom
§impl Hash for ClaimLiquidityAtom
impl Hash for ClaimLiquidityAtom
§impl Ord for ClaimLiquidityAtom
impl Ord for ClaimLiquidityAtom
§fn cmp(&self, other: &ClaimLiquidityAtom) -> Ordering
fn cmp(&self, other: &ClaimLiquidityAtom) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq<ClaimLiquidityAtom> for ClaimLiquidityAtom
impl PartialEq<ClaimLiquidityAtom> for ClaimLiquidityAtom
§fn eq(&self, other: &ClaimLiquidityAtom) -> bool
fn eq(&self, other: &ClaimLiquidityAtom) -> bool
§impl PartialOrd<ClaimLiquidityAtom> for ClaimLiquidityAtom
impl PartialOrd<ClaimLiquidityAtom> for ClaimLiquidityAtom
§fn partial_cmp(&self, other: &ClaimLiquidityAtom) -> Option<Ordering>
fn partial_cmp(&self, other: &ClaimLiquidityAtom) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more