pub struct RemoveLiquidityInput {
pub pool: String,
pub min_amounts_out_raw: Vec<BigInt>,
pub max_bpt_amount_in_raw: BigInt,
pub kind: RemoveLiquidityKind,
}
Expand description
Input for remove liquidity operations
Fields§
§pool: String
Pool address
min_amounts_out_raw: Vec<BigInt>
Minimum amounts to receive (raw, not scaled)
max_bpt_amount_in_raw: BigInt
Maximum BPT amount to burn
kind: RemoveLiquidityKind
Kind of remove liquidity operation
Trait Implementations§
Source§impl Clone for RemoveLiquidityInput
impl Clone for RemoveLiquidityInput
Source§fn clone(&self) -> RemoveLiquidityInput
fn clone(&self) -> RemoveLiquidityInput
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 RemoveLiquidityInput
impl Debug for RemoveLiquidityInput
Source§impl<'de> Deserialize<'de> for RemoveLiquidityInput
impl<'de> Deserialize<'de> for RemoveLiquidityInput
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 RemoveLiquidityInput
impl PartialEq for RemoveLiquidityInput
Source§impl Serialize for RemoveLiquidityInput
impl Serialize for RemoveLiquidityInput
impl StructuralPartialEq for RemoveLiquidityInput
Auto Trait Implementations§
impl Freeze for RemoveLiquidityInput
impl RefUnwindSafe for RemoveLiquidityInput
impl Send for RemoveLiquidityInput
impl Sync for RemoveLiquidityInput
impl Unpin for RemoveLiquidityInput
impl UnwindSafe for RemoveLiquidityInput
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