pub struct GetKrakenEmbedAssetsResponse {
pub data: GetKrakenEmbedAssetsResponseData,
}Expand description
GetKrakenEmbedAssetsResponse
JSON schema
{
"examples": [
{
"data": {
"error": [],
"errors": [],
"result": {
"ath_date": "2025-10-06",
"ath_value": "126080",
"bearish_insights": "<p>Bitcoin has some challenges...</p>",
"bullish_insights": "<p>Bitcoin has strong
fundamentals...</p>",
"change_percent_24h": "1.8191",
"change_value_24h": "41170105372",
"circulating_supply": "19940768",
"description": "Bitcoin is the world's largest cryptocurrency
project.",
"english_name": "Bitcoin",
"links": {
"logo": {
"height": 400,
"href": "https://assets.kraken.com/marketing/web/icons-uni-webp/s_btc.webp",
"type": "image/webp",
"width": 400
},
"self": {
"href": "/assets/BTC",
"type": "application/json"
}
},
"market_cap_value": "2304382465497",
"max_supply": "21000000",
"symbol": "BTC",
"total_supply": null,
"volume_value_24h": "64775687006"
}
}
}
],
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"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§
§data: GetKrakenEmbedAssetsResponseDataTrait Implementations§
Source§impl Clone for GetKrakenEmbedAssetsResponse
impl Clone for GetKrakenEmbedAssetsResponse
Source§fn clone(&self) -> GetKrakenEmbedAssetsResponse
fn clone(&self) -> GetKrakenEmbedAssetsResponse
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 GetKrakenEmbedAssetsResponse
impl Debug for GetKrakenEmbedAssetsResponse
Source§impl<'de> Deserialize<'de> for GetKrakenEmbedAssetsResponse
impl<'de> Deserialize<'de> for GetKrakenEmbedAssetsResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetKrakenEmbedAssetsResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetKrakenEmbedAssetsResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&GetKrakenEmbedAssetsResponse> for GetKrakenEmbedAssetsResponse
impl From<&GetKrakenEmbedAssetsResponse> for GetKrakenEmbedAssetsResponse
Source§fn from(value: &GetKrakenEmbedAssetsResponse) -> GetKrakenEmbedAssetsResponse
fn from(value: &GetKrakenEmbedAssetsResponse) -> GetKrakenEmbedAssetsResponse
Converts to this type from the input type.
Source§impl Serialize for GetKrakenEmbedAssetsResponse
impl Serialize for GetKrakenEmbedAssetsResponse
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 GetKrakenEmbedAssetsResponse
impl RefUnwindSafe for GetKrakenEmbedAssetsResponse
impl Send for GetKrakenEmbedAssetsResponse
impl Sync for GetKrakenEmbedAssetsResponse
impl Unpin for GetKrakenEmbedAssetsResponse
impl UnwindSafe for GetKrakenEmbedAssetsResponse
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