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": "ENTITY.DEXSCR_TRENDING_META.DESCRIPTION",
"type": "string"
},
"iconType": {
"description": "ENTITY.DEXSCR_TRENDING_META.ICON_TYPE",
"type": "string"
},
"iconValue": {
"description": "ENTITY.DEXSCR_TRENDING_META.ICON_VALUE",
"type": "string"
},
"liquidity": {
"description": "ENTITY.DEXSCR_TRENDING_META.LIQUIDITY",
"type": "number",
"format": "double"
},
"marketCap": {
"description": "ENTITY.DEXSCR_TRENDING_META.MARKET_CAP",
"type": "number",
"format": "double"
},
"marketCapChange": {
"description": "ENTITY.DEXSCR_TRENDING_META.MARKET_CAP_CHANGE"
},
"name": {
"description": "ENTITY.DEXSCR_TRENDING_META.NAME",
"type": "string"
},
"slug": {
"description": "ENTITY.DEXSCR_TRENDING_META.SLUG",
"examples": [
"ai"
],
"type": "string"
},
"tokenCount": {
"description": "ENTITY.DEXSCR_TRENDING_META.TOKEN_COUNT",
"type": "integer",
"format": "int64"
},
"volume": {
"description": "ENTITY.DEXSCR_TRENDING_META.VOLUME",
"type": "number",
"format": "double"
}
}
}Fields§
§description: Option<String>ENTITY.DEXSCR_TRENDING_META.DESCRIPTION
icon_type: Option<String>ENTITY.DEXSCR_TRENDING_META.ICON_TYPE
icon_value: Option<String>ENTITY.DEXSCR_TRENDING_META.ICON_VALUE
liquidity: Option<f64>§market_cap: Option<f64>§market_cap_change: Option<Value>ENTITY.DEXSCR_TRENDING_META.MARKET_CAP_CHANGE
name: Option<String>ENTITY.DEXSCR_TRENDING_META.NAME
slug: StringENTITY.DEXSCR_TRENDING_META.SLUG
token_count: Option<i64>ENTITY.DEXSCR_TRENDING_META.TOKEN_COUNT
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