pub struct ExchangeInfo {
pub assets: Vec<Asset>,
pub chain_hash: Option<String>,
pub chain_info: Option<ChainInfo>,
pub rate_limits: Vec<RateLimit>,
pub symbols: Vec<Symbol>,
}Expand description
ExchangeInfo
JSON schema
{
"type": "object",
"required": [
"assets",
"rateLimits",
"symbols"
],
"properties": {
"assets": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Asset"
}
},
"chainHash": {
"type": [
"string",
"null"
]
},
"chainInfo": {
"oneOf": [
{
"type": "null"
},
{
"oneOf": [
{
"$ref": "#/components/schemas/ChainInfo"
}
]
}
]
},
"rateLimits": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RateLimit"
}
},
"symbols": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Symbol"
}
}
}
}Fields§
§assets: Vec<Asset>§chain_hash: Option<String>§chain_info: Option<ChainInfo>§rate_limits: Vec<RateLimit>§symbols: Vec<Symbol>Trait Implementations§
Source§impl Clone for ExchangeInfo
impl Clone for ExchangeInfo
Source§fn clone(&self) -> ExchangeInfo
fn clone(&self) -> ExchangeInfo
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 ExchangeInfo
impl Debug for ExchangeInfo
Source§impl<'de> Deserialize<'de> for ExchangeInfo
impl<'de> Deserialize<'de> for ExchangeInfo
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 ExchangeInfo
impl RefUnwindSafe for ExchangeInfo
impl Send for ExchangeInfo
impl Sync for ExchangeInfo
impl Unpin for ExchangeInfo
impl UnsafeUnpin for ExchangeInfo
impl UnwindSafe for ExchangeInfo
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