Struct stable_swap_client::instruction::WithdrawData [−][src]
#[repr(C)]pub struct WithdrawData {
pub pool_token_amount: u64,
pub minimum_token_a_amount: u64,
pub minimum_token_b_amount: u64,
}
Expand description
Withdraw instruction data
Fields
pool_token_amount: u64
Amount of pool tokens to burn. User receives an output of token a and b based on the percentage of the pool tokens that are returned.
minimum_token_a_amount: u64
Minimum amount of token A to receive, prevents excessive slippage
minimum_token_b_amount: u64
Minimum amount of token 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 WithdrawData
impl Send for WithdrawData
impl Sync for WithdrawData
impl Unpin for WithdrawData
impl UnwindSafe for WithdrawData
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more