pub struct DexscrTrendingMeta {
pub description: Option<String>,
pub icon_type: Option<String>,
pub icon_value: Option<String>,
pub liquidity: Option<f64>,
pub market_cap: Option<f64>,
pub market_cap_change: Option<Value>,
pub name: Option<String>,
pub slug: String,
pub token_count: Option<i64>,
pub volume: Option<f64>,
}Expand description
DexscrTrendingMeta
JSON schema
{
"type": "object",
"required": [
"slug"
],
"properties": {
"description": {
"description": "Meta category description",
"type": "string"
},
"iconType": {
"description": "Icon type (e.g. image)",
"type": "string"
},
"iconValue": {
"description": "Icon URL or identifier value",
"type": "string"
},
"liquidity": {
"description": "Aggregate liquidity in USD",
"type": "number",
"format": "double"
},
"marketCap": {
"description": "Aggregate market capitalization in USD",
"type": "number",
"format": "double"
},
"marketCapChange": {
"description": "Market cap change percentages by period in JSON format"
},
"name": {
"description": "Meta category display name",
"type": "string"
},
"slug": {
"description": "Meta category slug identifier",
"examples": [
"ai"
],
"type": "string"
},
"tokenCount": {
"description": "Number of tokens in this meta category",
"type": "integer",
"format": "int64"
},
"volume": {
"description": "Aggregate trading volume in USD",
"type": "number",
"format": "double"
}
}
}Fields§
§description: Option<String>Meta category description
icon_type: Option<String>Icon type (e.g. image)
icon_value: Option<String>Icon URL or identifier value
liquidity: Option<f64>§market_cap: Option<f64>§market_cap_change: Option<Value>Market cap change percentages by period in JSON format
name: Option<String>Meta category display name
slug: StringMeta category slug identifier
token_count: Option<i64>Number of tokens in this meta category
volume: Option<f64>Implementations§
Source§impl DexscrTrendingMeta
impl DexscrTrendingMeta
pub fn builder() -> DexscrTrendingMeta
Trait Implementations§
Source§impl Clone for DexscrTrendingMeta
impl Clone for DexscrTrendingMeta
Source§fn clone(&self) -> DexscrTrendingMeta
fn clone(&self) -> DexscrTrendingMeta
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DexscrTrendingMeta
impl Debug for DexscrTrendingMeta
Source§impl<'de> Deserialize<'de> for DexscrTrendingMeta
impl<'de> Deserialize<'de> for DexscrTrendingMeta
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<&DexscrTrendingMeta> for DexscrTrendingMeta
impl From<&DexscrTrendingMeta> for DexscrTrendingMeta
Source§fn from(value: &DexscrTrendingMeta) -> Self
fn from(value: &DexscrTrendingMeta) -> Self
Converts to this type from the input type.
Source§impl From<DexscrTrendingMeta> for DexscrTrendingMeta
impl From<DexscrTrendingMeta> for DexscrTrendingMeta
Source§fn from(value: DexscrTrendingMeta) -> Self
fn from(value: DexscrTrendingMeta) -> Self
Converts to this type from the input type.
Source§impl Serialize for DexscrTrendingMeta
impl Serialize for DexscrTrendingMeta
Source§impl TryFrom<DexscrTrendingMeta> for DexscrTrendingMeta
impl TryFrom<DexscrTrendingMeta> for DexscrTrendingMeta
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DexscrTrendingMeta) -> Result<Self, ConversionError>
fn try_from(value: DexscrTrendingMeta) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DexscrTrendingMeta
impl RefUnwindSafe for DexscrTrendingMeta
impl Send for DexscrTrendingMeta
impl Sync for DexscrTrendingMeta
impl Unpin for DexscrTrendingMeta
impl UnsafeUnpin for DexscrTrendingMeta
impl UnwindSafe for DexscrTrendingMeta
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