Struct stable_swap_client::instruction::SwapData [−][src]
Expand description
Swap instruction data
Fields
amount_in: u64
SOURCE amount to transfer, output to DESTINATION is based on the exchange rate
minimum_amount_out: u64
Minimum amount of DESTINATION token to output, prevents excessive slippage
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SwapData
impl UnwindSafe for SwapData
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more