pub struct AvgPriceResponse {
pub mins: i64,
pub price: String,
}
Expand description
AvgPriceResponse
JSON schema
{
"type": "object",
"required": [
"mins",
"price"
],
"properties": {
"mins": {
"examples": [
5
],
"type": "integer",
"format": "int64"
},
"price": {
"examples": [
"9.35751834"
],
"type": "string"
}
}
}
Fields§
§mins: i64
§price: String
Trait Implementations§
Source§impl Clone for AvgPriceResponse
impl Clone for AvgPriceResponse
Source§fn clone(&self) -> AvgPriceResponse
fn clone(&self) -> AvgPriceResponse
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 AvgPriceResponse
impl Debug for AvgPriceResponse
Source§impl<'de> Deserialize<'de> for AvgPriceResponse
impl<'de> Deserialize<'de> for AvgPriceResponse
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 From<&AvgPriceResponse> for AvgPriceResponse
impl From<&AvgPriceResponse> for AvgPriceResponse
Source§fn from(value: &AvgPriceResponse) -> Self
fn from(value: &AvgPriceResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AvgPriceResponse
impl RefUnwindSafe for AvgPriceResponse
impl Send for AvgPriceResponse
impl Sync for AvgPriceResponse
impl Unpin for AvgPriceResponse
impl UnwindSafe for AvgPriceResponse
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