Struct stable_swap_client::instruction::WithdrawOneData [−][src]
Expand description
Withdraw instruction data
Fields
pool_token_amount: u64
Amount of pool tokens to burn. User receives an output of token a or b based on the percentage of the pool tokens that are returned.
minimum_token_amount: u64
Minimum amount of token A or B to receive, prevents excessive slippage
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for WithdrawOneData
impl Send for WithdrawOneData
impl Sync for WithdrawOneData
impl Unpin for WithdrawOneData
impl UnwindSafe for WithdrawOneData
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more