pub struct AddLiquidityInput {
pub pool: String,
pub max_amounts_in_raw: Vec<BigInt>,
pub min_bpt_amount_out_raw: BigInt,
pub kind: AddLiquidityKind,
}Expand description
Input for add liquidity operations
Fields§
§pool: StringPool address
max_amounts_in_raw: Vec<BigInt>Maximum amounts to add (raw, not scaled)
min_bpt_amount_out_raw: BigIntMinimum BPT amount to receive
kind: AddLiquidityKindKind of add liquidity operation
Trait Implementations§
Source§impl Clone for AddLiquidityInput
impl Clone for AddLiquidityInput
Source§fn clone(&self) -> AddLiquidityInput
fn clone(&self) -> AddLiquidityInput
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 AddLiquidityInput
impl Debug for AddLiquidityInput
Source§impl<'de> Deserialize<'de> for AddLiquidityInput
impl<'de> Deserialize<'de> for AddLiquidityInput
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 AddLiquidityInput
impl PartialEq for AddLiquidityInput
Source§impl Serialize for AddLiquidityInput
impl Serialize for AddLiquidityInput
impl StructuralPartialEq for AddLiquidityInput
Auto Trait Implementations§
impl Freeze for AddLiquidityInput
impl RefUnwindSafe for AddLiquidityInput
impl Send for AddLiquidityInput
impl Sync for AddLiquidityInput
impl Unpin for AddLiquidityInput
impl UnwindSafe for AddLiquidityInput
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