pub struct CurrencyPrices {
pub eur: i64,
pub gbp: i64,
pub usd: i64,
}Expand description
CurrencyPrices
JSON schema
{
"type": "object",
"required": [
"eur",
"gbp",
"usd"
],
"properties": {
"eur": {
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"gbp": {
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"usd": {
"type": "integer",
"format": "int64",
"minimum": 0.0
}
}
}Fields§
§eur: i64§gbp: i64§usd: i64Trait Implementations§
Source§impl Clone for CurrencyPrices
impl Clone for CurrencyPrices
Source§fn clone(&self) -> CurrencyPrices
fn clone(&self) -> CurrencyPrices
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 CurrencyPrices
impl Debug for CurrencyPrices
Source§impl<'de> Deserialize<'de> for CurrencyPrices
impl<'de> Deserialize<'de> for CurrencyPrices
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 CurrencyPrices
impl RefUnwindSafe for CurrencyPrices
impl Send for CurrencyPrices
impl Sync for CurrencyPrices
impl Unpin for CurrencyPrices
impl UnsafeUnpin for CurrencyPrices
impl UnwindSafe for CurrencyPrices
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