pub struct MyAllocationsResponseItem {Show 14 fields
pub allocation_id: i64,
pub allocation_type: String,
pub commission: String,
pub commission_asset: String,
pub is_allocator: bool,
pub is_buyer: bool,
pub is_maker: bool,
pub order_id: i64,
pub order_list_id: i64,
pub price: String,
pub qty: String,
pub quote_qty: String,
pub symbol: String,
pub time: i64,
}
Expand description
MyAllocationsResponseItem
JSON schema
{
"type": "object",
"required": [
"allocationId",
"allocationType",
"commission",
"commissionAsset",
"isAllocator",
"isBuyer",
"isMaker",
"orderId",
"orderListId",
"price",
"qty",
"quoteQty",
"symbol",
"time"
],
"properties": {
"allocationId": {
"examples": [
0
],
"type": "integer",
"format": "int64"
},
"allocationType": {
"examples": [
"SOR"
],
"type": "string"
},
"commission": {
"examples": [
"0.00000000"
],
"type": "string"
},
"commissionAsset": {
"examples": [
"BTC"
],
"type": "string"
},
"isAllocator": {
"examples": [
false
],
"type": "boolean"
},
"isBuyer": {
"examples": [
true
],
"type": "boolean"
},
"isMaker": {
"examples": [
false
],
"type": "boolean"
},
"orderId": {
"examples": [
1
],
"type": "integer",
"format": "int64"
},
"orderListId": {
"examples": [
-1
],
"type": "integer",
"format": "int64"
},
"price": {
"examples": [
"1.00000000"
],
"type": "string"
},
"qty": {
"examples": [
"5.00000000"
],
"type": "string"
},
"quoteQty": {
"examples": [
"5.00000000"
],
"type": "string"
},
"symbol": {
"examples": [
"BTCUSDT"
],
"type": "string"
},
"time": {
"examples": [
1687506878118
],
"type": "integer",
"format": "int64"
}
}
}
Fields§
§allocation_id: i64
§allocation_type: String
§commission: String
§commission_asset: String
§is_allocator: bool
§is_buyer: bool
§is_maker: bool
§order_id: i64
§order_list_id: i64
§price: String
§qty: String
§quote_qty: String
§symbol: String
§time: i64
Trait Implementations§
Source§impl Clone for MyAllocationsResponseItem
impl Clone for MyAllocationsResponseItem
Source§fn clone(&self) -> MyAllocationsResponseItem
fn clone(&self) -> MyAllocationsResponseItem
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 Debug for MyAllocationsResponseItem
impl Debug for MyAllocationsResponseItem
Source§impl<'de> Deserialize<'de> for MyAllocationsResponseItem
impl<'de> Deserialize<'de> for MyAllocationsResponseItem
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<&MyAllocationsResponseItem> for MyAllocationsResponseItem
impl From<&MyAllocationsResponseItem> for MyAllocationsResponseItem
Source§fn from(value: &MyAllocationsResponseItem) -> Self
fn from(value: &MyAllocationsResponseItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MyAllocationsResponseItem
impl RefUnwindSafe for MyAllocationsResponseItem
impl Send for MyAllocationsResponseItem
impl Sync for MyAllocationsResponseItem
impl Unpin for MyAllocationsResponseItem
impl UnwindSafe for MyAllocationsResponseItem
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