pub struct Contract {Show 33 fields
pub id: String,
pub symbol: String,
pub name: String,
pub asset_platform_id: String,
pub platforms: Option<HashMap<String, Option<String>>>,
pub block_time_in_minutes: i64,
pub hashing_algorithm: Value,
pub categories: Vec<String>,
pub public_notice: Value,
pub additional_notices: Vec<Value>,
pub localization: Localization,
pub description: Description,
pub links: Links,
pub image: Image,
pub country_origin: String,
pub genesis_date: Value,
pub contract_address: String,
pub sentiment_votes_up_percentage: f64,
pub sentiment_votes_down_percentage: f64,
pub market_cap_rank: i64,
pub coingecko_rank: i64,
pub coingecko_score: f64,
pub developer_score: i64,
pub community_score: f64,
pub liquidity_score: f64,
pub public_interest_score: f64,
pub market_data: MarketData,
pub community_data: CommunityData,
pub developer_data: DeveloperData,
pub public_interest_stats: PublicInterestStats,
pub status_updates: Vec<Value>,
pub last_updated: String,
pub tickers: Vec<Ticker>,
}
Fields
id: String
symbol: String
name: String
asset_platform_id: String
platforms: Option<HashMap<String, Option<String>>>
block_time_in_minutes: i64
hashing_algorithm: Value
categories: Vec<String>
public_notice: Value
additional_notices: Vec<Value>
localization: Localization
description: Description
links: Links
image: Image
country_origin: String
genesis_date: Value
contract_address: String
sentiment_votes_up_percentage: f64
sentiment_votes_down_percentage: f64
market_cap_rank: i64
coingecko_rank: i64
coingecko_score: f64
developer_score: i64
community_score: f64
liquidity_score: f64
public_interest_score: f64
market_data: MarketData
community_data: CommunityData
developer_data: DeveloperData
public_interest_stats: PublicInterestStats
status_updates: Vec<Value>
last_updated: String
tickers: Vec<Ticker>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Contract
impl<'de> Deserialize<'de> for Contract
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for Contract
impl Send for Contract
impl Sync for Contract
impl Unpin for Contract
impl UnwindSafe for Contract
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more