pub struct SwapRouteInput { /* private fields */ }Implementations§
Source§impl SwapRouteInput
impl SwapRouteInput
pub fn amount<T>(self, value: T) -> Self
pub fn deadline<T>(self, value: T) -> Self
pub fn dex<T>(self, value: T) -> Self
pub fn input_mint<T>(self, value: T) -> Self
pub fn is_anti_mev<T>(self, value: T) -> Self
pub fn output_mint<T>(self, value: T) -> Self
pub fn permit<T>(self, value: T) -> Self
pub fn priority_fee<T>(self, value: T) -> Self
pub fn recipient_address<T>(self, value: T) -> Self
pub fn slippage<T>(self, value: T) -> Self
pub fn swap_mode<T>(self, value: T) -> Self
pub fn tip_fee<T>(self, value: T) -> Self
pub fn user_address<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for SwapRouteInput
impl Clone for SwapRouteInput
Source§fn clone(&self) -> SwapRouteInput
fn clone(&self) -> SwapRouteInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SwapRouteInput
impl Debug for SwapRouteInput
Source§impl Default for SwapRouteInput
impl Default for SwapRouteInput
Source§impl From<SwapRouteInput> for SwapRouteInput
impl From<SwapRouteInput> for SwapRouteInput
Source§fn from(value: SwapRouteInput) -> Self
fn from(value: SwapRouteInput) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SwapRouteInput> for SwapRouteInput
impl TryFrom<SwapRouteInput> for SwapRouteInput
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SwapRouteInput) -> Result<Self, ConversionError>
fn try_from(value: SwapRouteInput) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SwapRouteInput
impl RefUnwindSafe for SwapRouteInput
impl Send for SwapRouteInput
impl Sync for SwapRouteInput
impl Unpin for SwapRouteInput
impl UnwindSafe for SwapRouteInput
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