pub struct RaydiumQuote {
pub inToken: String,
pub inTokenAddress: String,
pub outToken: String,
pub outTokenAddress: String,
pub inAmount: f64,
pub routes: Vec<RaydiumQuoteRoute>,
}Fields§
§inToken: String§inTokenAddress: String§outToken: String§outTokenAddress: String§inAmount: f64§routes: Vec<RaydiumQuoteRoute>Trait Implementations§
Source§impl Clone for RaydiumQuote
impl Clone for RaydiumQuote
Source§fn clone(&self) -> RaydiumQuote
fn clone(&self) -> RaydiumQuote
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 RaydiumQuote
impl Debug for RaydiumQuote
Source§impl<'de> Deserialize<'de> for RaydiumQuote
impl<'de> Deserialize<'de> for RaydiumQuote
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 RaydiumQuote
impl RefUnwindSafe for RaydiumQuote
impl Send for RaydiumQuote
impl Sync for RaydiumQuote
impl Unpin for RaydiumQuote
impl UnwindSafe for RaydiumQuote
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