pub struct RateResponse {
pub rate: Option<f64>,
}Fields§
§rate: Option<f64>Returns the exchange rate for the currency pair.
Trait Implementations§
Source§impl Clone for RateResponse
impl Clone for RateResponse
Source§fn clone(&self) -> RateResponse
fn clone(&self) -> RateResponse
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 RateResponse
impl Debug for RateResponse
Source§impl Default for RateResponse
impl Default for RateResponse
Source§impl<'de> Deserialize<'de> for RateResponse
impl<'de> Deserialize<'de> for RateResponse
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
Source§impl PartialEq for RateResponse
impl PartialEq for RateResponse
impl StructuralPartialEq for RateResponse
Auto Trait Implementations§
impl Freeze for RateResponse
impl RefUnwindSafe for RateResponse
impl Send for RateResponse
impl Sync for RateResponse
impl Unpin for RateResponse
impl UnsafeUnpin for RateResponse
impl UnwindSafe for RateResponse
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