pub struct GetKrakenEmbedAssetsResponseData {
pub error: Vec<Value>,
pub errors: Vec<Value>,
pub result: Option<GetKrakenEmbedAssetsResponseDataResult>,
}Expand description
GetKrakenEmbedAssetsResponseData
JSON schema
{
"type": "object",
"required": [
"result"
],
"properties": {
"error": {
"type": "array",
"items": {}
},
"errors": {
"type": "array",
"items": {}
},
"result": {
"type": [
"object",
"null"
],
"required": [
"links",
"symbol"
],
"properties": {
"ath_date": {
"type": [
"string",
"null"
]
},
"ath_value": {
"type": [
"string",
"null"
],
"maxLength": 64,
"minLength": 1,
"pattern": "^-?[0-9]+(\\.[0-9]+)?$"
},
"bearish_insights": {
"type": [
"string",
"null"
]
},
"bullish_insights": {
"type": [
"string",
"null"
]
},
"change_percent_24h": {
"type": [
"string",
"null"
],
"maxLength": 64,
"minLength": 1,
"pattern": "^-?[0-9]+(\\.[0-9]+)?$"
},
"change_value_24h": {
"type": [
"string",
"null"
],
"maxLength": 64,
"minLength": 1,
"pattern": "^-?[0-9]+(\\.[0-9]+)?$"
},
"circulating_supply": {
"type": [
"string",
"null"
],
"maxLength": 64,
"minLength": 1,
"pattern": "^-?[0-9]+(\\.[0-9]+)?$"
},
"description": {
"type": [
"string",
"null"
]
},
"english_name": {
"type": [
"string",
"null"
]
},
"links": {
"type": "object",
"required": [
"logo",
"self"
],
"properties": {
"logo": {
"type": "object",
"required": [
"height",
"href",
"width"
],
"properties": {
"height": {
"type": "integer",
"minimum": 0.0
},
"href": {
"type": "string"
},
"type": {
"type": [
"string",
"null"
]
},
"width": {
"type": "integer",
"minimum": 0.0
}
}
},
"self": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"type": {
"type": [
"string",
"null"
]
}
}
}
}
},
"market_cap_value": {
"type": [
"string",
"null"
],
"maxLength": 64,
"minLength": 1,
"pattern": "^-?[0-9]+(\\.[0-9]+)?$"
},
"max_supply": {
"type": [
"string",
"null"
],
"maxLength": 64,
"minLength": 1,
"pattern": "^-?[0-9]+(\\.[0-9]+)?$"
},
"symbol": {
"type": "string",
"maxLength": 16
},
"total_supply": {
"type": [
"string",
"null"
],
"maxLength": 64,
"minLength": 1,
"pattern": "^-?[0-9]+(\\.[0-9]+)?$"
},
"volume_value_24h": {
"type": [
"string",
"null"
],
"maxLength": 64,
"minLength": 1,
"pattern": "^-?[0-9]+(\\.[0-9]+)?$"
}
}
}
}
}Fields§
§error: Vec<Value>§errors: Vec<Value>§result: Option<GetKrakenEmbedAssetsResponseDataResult>Trait Implementations§
Source§impl Clone for GetKrakenEmbedAssetsResponseData
impl Clone for GetKrakenEmbedAssetsResponseData
Source§fn clone(&self) -> GetKrakenEmbedAssetsResponseData
fn clone(&self) -> GetKrakenEmbedAssetsResponseData
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 GetKrakenEmbedAssetsResponseData
impl<'de> Deserialize<'de> for GetKrakenEmbedAssetsResponseData
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetKrakenEmbedAssetsResponseData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetKrakenEmbedAssetsResponseData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&GetKrakenEmbedAssetsResponseData> for GetKrakenEmbedAssetsResponseData
impl From<&GetKrakenEmbedAssetsResponseData> for GetKrakenEmbedAssetsResponseData
Source§fn from(
value: &GetKrakenEmbedAssetsResponseData,
) -> GetKrakenEmbedAssetsResponseData
fn from( value: &GetKrakenEmbedAssetsResponseData, ) -> GetKrakenEmbedAssetsResponseData
Converts to this type from the input type.
Source§impl Serialize for GetKrakenEmbedAssetsResponseData
impl Serialize for GetKrakenEmbedAssetsResponseData
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for GetKrakenEmbedAssetsResponseData
impl RefUnwindSafe for GetKrakenEmbedAssetsResponseData
impl Send for GetKrakenEmbedAssetsResponseData
impl Sync for GetKrakenEmbedAssetsResponseData
impl Unpin for GetKrakenEmbedAssetsResponseData
impl UnwindSafe for GetKrakenEmbedAssetsResponseData
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