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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl 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 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. 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 · sourcefn 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 moreimpl Eq for ClaimLiquidityAtom
impl ReadXdr for ClaimLiquidityAtom
impl StructuralEq for ClaimLiquidityAtom
impl StructuralPartialEq for ClaimLiquidityAtom
impl WriteXdr for ClaimLiquidityAtom
Auto Trait Implementations
impl RefUnwindSafe for ClaimLiquidityAtom
impl Send for ClaimLiquidityAtom
impl Sync for ClaimLiquidityAtom
impl Unpin for ClaimLiquidityAtom
impl UnwindSafe for ClaimLiquidityAtom
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more