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