pub struct GetMarkPriceResponse {
pub mark_price: Option<String>,
pub oracle_epoch: Option<String>,
pub oracle_provider: Option<String>,
pub regime: Option<String>,
pub trading_pair_id: Option<Uuid>,
pub updated_at: Option<String>,
}Expand description
GetMarkPriceResponse
JSON schema
{
"type": "object",
"properties": {
"markPrice": {
"type": [
"string",
"null"
]
},
"oracleEpoch": {
"type": [
"string",
"null"
]
},
"oracleProvider": {
"type": [
"string",
"null"
]
},
"regime": {
"type": [
"string",
"null"
]
},
"tradingPairId": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"updatedAt": {
"type": [
"string",
"null"
]
}
}
}Fields§
§mark_price: Option<String>§oracle_epoch: Option<String>§oracle_provider: Option<String>§regime: Option<String>§trading_pair_id: Option<Uuid>§updated_at: Option<String>Trait Implementations§
Source§impl Clone for GetMarkPriceResponse
impl Clone for GetMarkPriceResponse
Source§fn clone(&self) -> GetMarkPriceResponse
fn clone(&self) -> GetMarkPriceResponse
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 GetMarkPriceResponse
impl Debug for GetMarkPriceResponse
Source§impl Default for GetMarkPriceResponse
impl Default for GetMarkPriceResponse
Source§impl<'de> Deserialize<'de> for GetMarkPriceResponse
impl<'de> Deserialize<'de> for GetMarkPriceResponse
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 GetMarkPriceResponse
impl RefUnwindSafe for GetMarkPriceResponse
impl Send for GetMarkPriceResponse
impl Sync for GetMarkPriceResponse
impl Unpin for GetMarkPriceResponse
impl UnsafeUnpin for GetMarkPriceResponse
impl UnwindSafe for GetMarkPriceResponse
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