pub struct GetIndexPriceResponse {
pub components: Option<Vec<IndexComponent>>,
pub index_price: Option<String>,
pub trading_pair_id: Option<Uuid>,
pub updated_at: Option<String>,
}Expand description
GetIndexPriceResponse
JSON schema
{
"type": "object",
"properties": {
"components": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/IndexComponent"
}
},
"indexPrice": {
"type": [
"string",
"null"
]
},
"tradingPairId": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"updatedAt": {
"type": [
"string",
"null"
]
}
}
}Fields§
§components: Option<Vec<IndexComponent>>§index_price: Option<String>§trading_pair_id: Option<Uuid>§updated_at: Option<String>Trait Implementations§
Source§impl Clone for GetIndexPriceResponse
impl Clone for GetIndexPriceResponse
Source§fn clone(&self) -> GetIndexPriceResponse
fn clone(&self) -> GetIndexPriceResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetIndexPriceResponse
impl Debug for GetIndexPriceResponse
Source§impl Default for GetIndexPriceResponse
impl Default for GetIndexPriceResponse
Source§impl<'de> Deserialize<'de> for GetIndexPriceResponse
impl<'de> Deserialize<'de> for GetIndexPriceResponse
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 GetIndexPriceResponse
impl RefUnwindSafe for GetIndexPriceResponse
impl Send for GetIndexPriceResponse
impl Sync for GetIndexPriceResponse
impl Unpin for GetIndexPriceResponse
impl UnsafeUnpin for GetIndexPriceResponse
impl UnwindSafe for GetIndexPriceResponse
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