pub struct GetPerpMarketConfigResponse {
pub funding_interval_seconds: Option<u32>,
pub initial_margin_ratio: Option<String>,
pub liquidation_fee_bps: Option<String>,
pub maintenance_margin_ratio: Option<String>,
pub max_leverage: Option<String>,
pub min_leverage: Option<String>,
pub risk_tiers: Option<Vec<RiskTier>>,
pub symbol: Option<String>,
pub trading_pair_id: Option<Uuid>,
pub updated_at: Option<String>,
}Expand description
GetPerpMarketConfigResponse
JSON schema
{
"type": "object",
"properties": {
"fundingIntervalSeconds": {
"type": [
"integer",
"null"
],
"format": "uint32"
},
"initialMarginRatio": {
"type": [
"string",
"null"
]
},
"liquidationFeeBps": {
"type": [
"string",
"null"
]
},
"maintenanceMarginRatio": {
"type": [
"string",
"null"
]
},
"maxLeverage": {
"type": [
"string",
"null"
]
},
"minLeverage": {
"type": [
"string",
"null"
]
},
"riskTiers": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/RiskTier"
}
},
"symbol": {
"type": [
"string",
"null"
]
},
"tradingPairId": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"updatedAt": {
"type": [
"string",
"null"
]
}
}
}Fields§
§funding_interval_seconds: Option<u32>§initial_margin_ratio: Option<String>§liquidation_fee_bps: Option<String>§maintenance_margin_ratio: Option<String>§max_leverage: Option<String>§min_leverage: Option<String>§risk_tiers: Option<Vec<RiskTier>>§symbol: Option<String>§trading_pair_id: Option<Uuid>§updated_at: Option<String>Trait Implementations§
Source§impl Clone for GetPerpMarketConfigResponse
impl Clone for GetPerpMarketConfigResponse
Source§fn clone(&self) -> GetPerpMarketConfigResponse
fn clone(&self) -> GetPerpMarketConfigResponse
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 GetPerpMarketConfigResponse
impl Debug for GetPerpMarketConfigResponse
Source§impl<'de> Deserialize<'de> for GetPerpMarketConfigResponse
impl<'de> Deserialize<'de> for GetPerpMarketConfigResponse
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 GetPerpMarketConfigResponse
impl RefUnwindSafe for GetPerpMarketConfigResponse
impl Send for GetPerpMarketConfigResponse
impl Sync for GetPerpMarketConfigResponse
impl Unpin for GetPerpMarketConfigResponse
impl UnsafeUnpin for GetPerpMarketConfigResponse
impl UnwindSafe for GetPerpMarketConfigResponse
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