pub struct GlobalConfigResponse {
pub max_orders_per_user: u16,
pub max_trigger_orders_per_user: u16,
pub max_trigger_orders_to_execute_per_msg: u16,
pub min_notional_twap_value: Decimal,
pub min_notional_twap_value_per_order: Decimal,
pub twap_execution_interval_seconds: u64,
}Expand description
GlobalConfigResponse
JSON schema
{
"type": "object",
"required": [
"maxOrdersPerUser",
"maxTriggerOrdersPerUser",
"maxTriggerOrdersToExecutePerMsg",
"minNotionalTwapValue",
"minNotionalTwapValuePerOrder",
"twapExecutionIntervalSeconds"
],
"properties": {
"maxOrdersPerUser": {
"type": "integer",
"format": "uint16",
"minimum": 0.0
},
"maxTriggerOrdersPerUser": {
"type": "integer",
"format": "uint16",
"minimum": 0.0
},
"maxTriggerOrdersToExecutePerMsg": {
"type": "integer",
"format": "uint16",
"minimum": 0.0
},
"minNotionalTwapValue": {
"type": "string",
"format": "decimal"
},
"minNotionalTwapValuePerOrder": {
"type": "string",
"format": "decimal"
},
"twapExecutionIntervalSeconds": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
}
}Fields§
§max_orders_per_user: u16§max_trigger_orders_per_user: u16§max_trigger_orders_to_execute_per_msg: u16§min_notional_twap_value: Decimal§min_notional_twap_value_per_order: Decimal§twap_execution_interval_seconds: u64Trait Implementations§
Source§impl Clone for GlobalConfigResponse
impl Clone for GlobalConfigResponse
Source§fn clone(&self) -> GlobalConfigResponse
fn clone(&self) -> GlobalConfigResponse
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 GlobalConfigResponse
impl Debug for GlobalConfigResponse
Source§impl<'de> Deserialize<'de> for GlobalConfigResponse
impl<'de> Deserialize<'de> for GlobalConfigResponse
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 GlobalConfigResponse
impl RefUnwindSafe for GlobalConfigResponse
impl Send for GlobalConfigResponse
impl Sync for GlobalConfigResponse
impl Unpin for GlobalConfigResponse
impl UnsafeUnpin for GlobalConfigResponse
impl UnwindSafe for GlobalConfigResponse
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