pub struct TickerValues {Show 29 fields
pub bid_price: Option<Decimal>,
pub bid_size: Option<Decimal>,
pub ask_price: Option<Decimal>,
pub ask_size: Option<Decimal>,
pub last_price: Option<Decimal>,
pub last_size: Option<Decimal>,
pub session_open: Option<Decimal>,
pub session_low: Option<Decimal>,
pub session_high: Option<Decimal>,
pub session_volume: Option<Decimal>,
pub open_24h: Option<Decimal>,
pub low_24h: Option<Decimal>,
pub high_24h: Option<Decimal>,
pub volume_24h: Option<Decimal>,
pub volume_30d: Option<Decimal>,
pub open_interest: Option<Decimal>,
pub last_settlement_price: Option<Decimal>,
pub last_settlement_date: Option<NaiveDate>,
pub indicative_settlement_price: Option<Decimal>,
pub mark_price: Option<Decimal>,
pub index_price: Option<Decimal>,
pub funding_rate: Option<Decimal>,
pub next_funding_time: Option<DateTime<Utc>>,
pub market_cap: Option<Decimal>,
pub price_to_earnings: Option<Decimal>,
pub eps_adj: Option<Decimal>,
pub shares_outstanding_weighted_adj: Option<Decimal>,
pub dividend: Option<Decimal>,
pub dividend_yield: Option<Decimal>,
}Fields§
§bid_price: Option<Decimal>§bid_size: Option<Decimal>§ask_price: Option<Decimal>§ask_size: Option<Decimal>§last_price: Option<Decimal>§last_size: Option<Decimal>§session_open: Option<Decimal>§session_low: Option<Decimal>§session_high: Option<Decimal>§session_volume: Option<Decimal>§open_24h: Option<Decimal>§low_24h: Option<Decimal>§high_24h: Option<Decimal>§volume_24h: Option<Decimal>§volume_30d: Option<Decimal>§open_interest: Option<Decimal>§last_settlement_price: Option<Decimal>§last_settlement_date: Option<NaiveDate>§indicative_settlement_price: Option<Decimal>§mark_price: Option<Decimal>§index_price: Option<Decimal>§funding_rate: Option<Decimal>§next_funding_time: Option<DateTime<Utc>>§market_cap: Option<Decimal>§price_to_earnings: Option<Decimal>§eps_adj: Option<Decimal>§dividend: Option<Decimal>§dividend_yield: Option<Decimal>Implementations§
Source§impl TickerValues
impl TickerValues
Trait Implementations§
Source§impl Clone for TickerValues
impl Clone for TickerValues
Source§fn clone(&self) -> TickerValues
fn clone(&self) -> TickerValues
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 TickerValues
impl Debug for TickerValues
Source§impl Default for TickerValues
impl Default for TickerValues
Source§fn default() -> TickerValues
fn default() -> TickerValues
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TickerValues
impl<'de> Deserialize<'de> for TickerValues
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 TickerValues
impl JsonSchema for TickerValues
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &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 moreSource§impl Serialize for TickerValues
impl Serialize for TickerValues
impl Copy for TickerValues
Auto Trait Implementations§
impl Freeze for TickerValues
impl RefUnwindSafe for TickerValues
impl Send for TickerValues
impl Sync for TickerValues
impl Unpin for TickerValues
impl UnwindSafe for TickerValues
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