#[non_exhaustive]pub struct EconomicCalendarUpdate {Show 15 fields
pub calendar_id: String,
pub date: String,
pub region: String,
pub category: String,
pub event: String,
pub ref_date: String,
pub actual: String,
pub previous: String,
pub forecast: String,
pub importance: String,
pub unit: String,
pub ccy: String,
pub prev_initial: String,
pub ts: NumberString,
pub extra: ExtraFields,
}Expand description
economic-calendar channel row.
OKX docs: https://www.okx.com/docs-v5/en/#order-book-trading-public-data-ws-economic-calendar-channel
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.calendar_id: StringUnique calendar event ID.
date: StringEstimated release time (Unix milliseconds).
region: StringReporting region or country, e.g., United States.
category: StringEvent category, e.g., Manufacturing PMI.
event: StringEvent name, e.g., S&P Global Manufacturing PMI Final.
ref_date: StringReference date for the data point (may differ from the release date).
actual: StringActual reported value (empty until the event is released).
previous: StringPreviously reported value.
forecast: StringConsensus forecast value.
importance: StringMarket impact importance: 1 low, 2 medium, 3 high.
unit: StringUnit of the reported value, e.g., %, K.
ccy: StringCrypto-market relevant currency associated with the event, e.g., BTC.
prev_initial: StringPreliminary/initial value before revision (empty if not revised).
ts: NumberStringPush time / last update time (Unix milliseconds).
extra: ExtraFieldsUnrecognized fields retained for forward compatibility.
Trait Implementations§
Source§impl Clone for EconomicCalendarUpdate
impl Clone for EconomicCalendarUpdate
Source§fn clone(&self) -> EconomicCalendarUpdate
fn clone(&self) -> EconomicCalendarUpdate
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more