pub struct SwapQuote {
pub from_currency: String,
pub to_currency: String,
pub from_amount: f64,
pub to_amount: f64,
pub rate: f64,
pub expires_at: String,
}Fields§
§from_currency: String§to_currency: String§from_amount: f64§to_amount: f64§rate: f64§expires_at: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for SwapQuote
impl<'de> Deserialize<'de> for SwapQuote
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 SwapQuote
impl RefUnwindSafe for SwapQuote
impl Send for SwapQuote
impl Sync for SwapQuote
impl Unpin for SwapQuote
impl UnsafeUnpin for SwapQuote
impl UnwindSafe for SwapQuote
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