pub struct Ticker24hr {Show 13 fields
pub close_time: i64,
pub count: i64,
pub high_price: Decimal,
pub last_price: Decimal,
pub low_price: Decimal,
pub open_price: Decimal,
pub open_time: i64,
pub price_change: Decimal,
pub price_change_percent: Decimal,
pub quote_volume: Decimal,
pub symbol: String,
pub volume: Decimal,
pub weighted_avg_price: Decimal,
}Expand description
Ticker24hr
JSON schema
{
"type": "object",
"required": [
"closeTime",
"count",
"highPrice",
"lastPrice",
"lowPrice",
"openPrice",
"openTime",
"priceChange",
"priceChangePercent",
"quoteVolume",
"symbol",
"volume",
"weightedAvgPrice"
],
"properties": {
"closeTime": {
"type": "integer",
"format": "int64"
},
"count": {
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"highPrice": {
"type": "string",
"format": "decimal"
},
"lastPrice": {
"type": "string",
"format": "decimal"
},
"lowPrice": {
"type": "string",
"format": "decimal"
},
"openPrice": {
"type": "string",
"format": "decimal"
},
"openTime": {
"type": "integer",
"format": "int64"
},
"priceChange": {
"type": "string",
"format": "decimal"
},
"priceChangePercent": {
"type": "string",
"format": "decimal"
},
"quoteVolume": {
"type": "string",
"format": "decimal"
},
"symbol": {
"type": "string"
},
"volume": {
"type": "string",
"format": "decimal"
},
"weightedAvgPrice": {
"type": "string",
"format": "decimal"
}
}
}Fields§
§close_time: i64§count: i64§high_price: Decimal§last_price: Decimal§low_price: Decimal§open_price: Decimal§open_time: i64§price_change: Decimal§price_change_percent: Decimal§quote_volume: Decimal§symbol: String§volume: Decimal§weighted_avg_price: DecimalTrait Implementations§
Source§impl Clone for Ticker24hr
impl Clone for Ticker24hr
Source§fn clone(&self) -> Ticker24hr
fn clone(&self) -> Ticker24hr
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 Ticker24hr
impl Debug for Ticker24hr
Source§impl<'de> Deserialize<'de> for Ticker24hr
impl<'de> Deserialize<'de> for Ticker24hr
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 Ticker24hr
impl RefUnwindSafe for Ticker24hr
impl Send for Ticker24hr
impl Sync for Ticker24hr
impl Unpin for Ticker24hr
impl UnsafeUnpin for Ticker24hr
impl UnwindSafe for Ticker24hr
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