pub struct CoinInfo {Show 18 fields
pub name: String,
pub symbol: String,
pub max_supply: Option<Decimal>,
pub circulating_supply: Option<Decimal>,
pub total_supply: Option<Decimal>,
pub infinite_supply: bool,
pub price: Option<Decimal>,
pub volume_24h: Option<Decimal>,
pub volume_change_24h: Option<Decimal>,
pub percent_change_1h: Option<Decimal>,
pub percent_change_24h: Option<Decimal>,
pub percent_change_7d: Option<Decimal>,
pub percent_change_30d: Option<Decimal>,
pub percent_change_60d: Option<Decimal>,
pub percent_change_90d: Option<Decimal>,
pub market_cap: Option<Decimal>,
pub fully_diluted_market_cap: Option<Decimal>,
pub tags: Vec<String>,
}Fields§
§name: String§symbol: String§max_supply: Option<Decimal>§circulating_supply: Option<Decimal>§total_supply: Option<Decimal>§infinite_supply: bool§price: Option<Decimal>§volume_24h: Option<Decimal>§volume_change_24h: Option<Decimal>§percent_change_1h: Option<Decimal>§percent_change_24h: Option<Decimal>§percent_change_7d: Option<Decimal>§percent_change_30d: Option<Decimal>§percent_change_60d: Option<Decimal>§percent_change_90d: Option<Decimal>§market_cap: Option<Decimal>§fully_diluted_market_cap: Option<Decimal>Trait Implementations§
Source§impl<'de> Deserialize<'de> for CoinInfo
impl<'de> Deserialize<'de> for CoinInfo
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 JsonSchema for CoinInfo
impl JsonSchema for CoinInfo
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for CoinInfo
impl RefUnwindSafe for CoinInfo
impl Send for CoinInfo
impl Sync for CoinInfo
impl Unpin for CoinInfo
impl UnwindSafe for CoinInfo
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