pub struct MarginAvailableInventoryResponse {
pub assets: MarginAvailableInventoryResponseAssets,
pub update_time: i64,
}
Expand description
MarginAvailableInventoryResponse
JSON schema
{
"type": "object",
"required": [
"assets",
"updateTime"
],
"properties": {
"assets": {
"type": "object",
"required": [
"MATIC",
"SHIB",
"STPT",
"TVK"
],
"properties": {
"MATIC": {
"examples": [
"100000000"
],
"type": "string"
},
"SHIB": {
"examples": [
"97409653"
],
"type": "string"
},
"STPT": {
"examples": [
"100000000"
],
"type": "string"
},
"TVK": {
"examples": [
"100000000"
],
"type": "string"
}
}
},
"updateTime": {
"examples": [
1699272487
],
"type": "integer",
"format": "int64"
}
}
}
Fields§
§assets: MarginAvailableInventoryResponseAssets
§update_time: i64
Trait Implementations§
Source§impl Clone for MarginAvailableInventoryResponse
impl Clone for MarginAvailableInventoryResponse
Source§fn clone(&self) -> MarginAvailableInventoryResponse
fn clone(&self) -> MarginAvailableInventoryResponse
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 MarginAvailableInventoryResponse
impl<'de> Deserialize<'de> for MarginAvailableInventoryResponse
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<&MarginAvailableInventoryResponse> for MarginAvailableInventoryResponse
impl From<&MarginAvailableInventoryResponse> for MarginAvailableInventoryResponse
Source§fn from(value: &MarginAvailableInventoryResponse) -> Self
fn from(value: &MarginAvailableInventoryResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MarginAvailableInventoryResponse
impl RefUnwindSafe for MarginAvailableInventoryResponse
impl Send for MarginAvailableInventoryResponse
impl Sync for MarginAvailableInventoryResponse
impl Unpin for MarginAvailableInventoryResponse
impl UnwindSafe for MarginAvailableInventoryResponse
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