Struct stable_swap_client::instruction::DepositData [−][src]
#[repr(C)]pub struct DepositData {
pub token_a_amount: u64,
pub token_b_amount: u64,
pub min_mint_amount: u64,
}Expand description
Deposit instruction data
Fields
token_a_amount: u64Token A amount to deposit
token_b_amount: u64Token B amount to deposit
min_mint_amount: u64Minimum LP tokens to mint, 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 DepositData
impl Send for DepositData
impl Sync for DepositData
impl Unpin for DepositData
impl UnwindSafe for DepositData
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
