pub struct PriceConversion {
pub base_currency_id: String,
pub base_currency_name: String,
pub base_price_last_updated: String,
pub quote_currency_id: String,
pub quote_currency_name: String,
pub quote_price_last_updated: String,
pub amount: i32,
pub price: f64,
}Expand description
Price data of a single cryptocurrency on coinpaprika.com
Fields§
§base_currency_id: String§base_currency_name: String§base_price_last_updated: String§quote_currency_id: String§quote_currency_name: String§quote_price_last_updated: String§amount: i32§price: f64Trait Implementations§
Source§impl Debug for PriceConversion
impl Debug for PriceConversion
Source§impl<'de> Deserialize<'de> for PriceConversion
impl<'de> Deserialize<'de> for PriceConversion
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 PriceConversion
impl RefUnwindSafe for PriceConversion
impl Send for PriceConversion
impl Sync for PriceConversion
impl Unpin for PriceConversion
impl UnwindSafe for PriceConversion
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