pub struct MarginRateLimitOrderResponseItem {
pub count: i64,
pub interval: String,
pub interval_num: i64,
pub limit: i64,
pub rate_limit_type: String,
}
Expand description
MarginRateLimitOrderResponseItem
JSON schema
{
"type": "object",
"required": [
"count",
"interval",
"intervalNum",
"limit",
"rateLimitType"
],
"properties": {
"count": {
"examples": [
0
],
"type": "integer",
"format": "int64"
},
"interval": {
"examples": [
"SECOND"
],
"type": "string"
},
"intervalNum": {
"examples": [
10
],
"type": "integer",
"format": "int64"
},
"limit": {
"examples": [
10000
],
"type": "integer",
"format": "int64"
},
"rateLimitType": {
"examples": [
"ORDERS"
],
"type": "string"
}
}
}
Fields§
§count: i64
§interval: String
§interval_num: i64
§limit: i64
§rate_limit_type: String
Trait Implementations§
Source§impl Clone for MarginRateLimitOrderResponseItem
impl Clone for MarginRateLimitOrderResponseItem
Source§fn clone(&self) -> MarginRateLimitOrderResponseItem
fn clone(&self) -> MarginRateLimitOrderResponseItem
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<'de> Deserialize<'de> for MarginRateLimitOrderResponseItem
impl<'de> Deserialize<'de> for MarginRateLimitOrderResponseItem
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<&MarginRateLimitOrderResponseItem> for MarginRateLimitOrderResponseItem
impl From<&MarginRateLimitOrderResponseItem> for MarginRateLimitOrderResponseItem
Source§fn from(value: &MarginRateLimitOrderResponseItem) -> Self
fn from(value: &MarginRateLimitOrderResponseItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MarginRateLimitOrderResponseItem
impl RefUnwindSafe for MarginRateLimitOrderResponseItem
impl Send for MarginRateLimitOrderResponseItem
impl Sync for MarginRateLimitOrderResponseItem
impl Unpin for MarginRateLimitOrderResponseItem
impl UnwindSafe for MarginRateLimitOrderResponseItem
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