pub struct SellArgs {
pub amm: AmmInput,
pub quote_fee: Option<MintFee>,
pub base_fee: Option<MintFee>,
}Expand description
amm.amount is the user’s amount: the base that the user sends for
sell_exact_in_with_fees, the quote that the user receives for
sell_exact_out_with_fees.
Fields§
§amm: AmmInput§quote_fee: Option<MintFee>§base_fee: Option<MintFee>Trait Implementations§
impl Copy for SellArgs
impl Eq for SellArgs
impl StructuralPartialEq for SellArgs
Auto Trait Implementations§
impl Freeze for SellArgs
impl RefUnwindSafe for SellArgs
impl Send for SellArgs
impl Sync for SellArgs
impl Unpin for SellArgs
impl UnsafeUnpin for SellArgs
impl UnwindSafe for SellArgs
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