pub struct RaydiumQuoteStep {
pub inToken: String,
pub inTokenAddress: String,
pub outToken: String,
pub outTokenAddress: String,
pub inAmount: f64,
pub outAmount: f64,
pub slippage: f64,
pub priceImpactPercent: RaydiumPriceImpact,
pub fee: RaydiumFee,
pub outAmountMin: f64,
pub project: RaydiumQuoteStepProject,
}Fields§
§inToken: String§inTokenAddress: String§outToken: String§outTokenAddress: String§inAmount: f64§outAmount: f64§slippage: f64§priceImpactPercent: RaydiumPriceImpact§fee: RaydiumFee§outAmountMin: f64§project: RaydiumQuoteStepProjectTrait Implementations§
Source§impl Clone for RaydiumQuoteStep
impl Clone for RaydiumQuoteStep
Source§fn clone(&self) -> RaydiumQuoteStep
fn clone(&self) -> RaydiumQuoteStep
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 RaydiumQuoteStep
impl Debug for RaydiumQuoteStep
Source§impl<'de> Deserialize<'de> for RaydiumQuoteStep
impl<'de> Deserialize<'de> for RaydiumQuoteStep
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RaydiumQuoteStep
impl RefUnwindSafe for RaydiumQuoteStep
impl Send for RaydiumQuoteStep
impl Sync for RaydiumQuoteStep
impl Unpin for RaydiumQuoteStep
impl UnwindSafe for RaydiumQuoteStep
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