pub struct AddLiquidityResult {
pub bpt_amount_out_raw: BigInt,
pub amounts_in_raw: Vec<BigInt>,
}
Expand description
Result of an add liquidity operation
Fields§
§bpt_amount_out_raw: BigInt
BPT amount minted (raw, not scaled)
amounts_in_raw: Vec<BigInt>
Amounts added (raw, not scaled)
Trait Implementations§
Source§impl Clone for AddLiquidityResult
impl Clone for AddLiquidityResult
Source§fn clone(&self) -> AddLiquidityResult
fn clone(&self) -> AddLiquidityResult
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 AddLiquidityResult
impl Debug for AddLiquidityResult
Source§impl<'de> Deserialize<'de> for AddLiquidityResult
impl<'de> Deserialize<'de> for AddLiquidityResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AddLiquidityResult
impl PartialEq for AddLiquidityResult
Source§impl Serialize for AddLiquidityResult
impl Serialize for AddLiquidityResult
impl StructuralPartialEq for AddLiquidityResult
Auto Trait Implementations§
impl Freeze for AddLiquidityResult
impl RefUnwindSafe for AddLiquidityResult
impl Send for AddLiquidityResult
impl Sync for AddLiquidityResult
impl Unpin for AddLiquidityResult
impl UnwindSafe for AddLiquidityResult
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