#[non_exhaustive]pub struct EconomicCalendar {Show 15 fields
pub calendar_id: String,
pub date: NumberString,
pub region: String,
pub category: String,
pub event: String,
pub ref_date: NumberString,
pub actual: String,
pub previous: String,
pub forecast: String,
pub date_span: String,
pub importance: String,
pub u_time: NumberString,
pub prev_initial: String,
pub ccy: String,
pub unit: String,
}Expand description
Macro-economic calendar row.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.calendar_id: StringValue returned by OKX in the calendarId field.
date: NumberStringValue returned by OKX in the date field (Unix milliseconds).
region: StringValue returned by OKX in the region field.
category: StringValue returned by OKX in the category field.
event: StringValue returned by OKX in the event field.
ref_date: NumberStringValue returned by OKX in the refDate field (Unix milliseconds).
actual: StringValue returned by OKX in the actual field.
previous: StringValue returned by OKX in the previous field.
forecast: StringValue returned by OKX in the forecast field.
date_span: StringValue returned by OKX in the dateSpan field.
importance: StringValue returned by OKX in the importance field.
u_time: NumberStringValue returned by OKX in the uTime field (Unix milliseconds).
prev_initial: StringValue returned by OKX in the prevInitial field.
ccy: StringValue returned by OKX in the ccy field.
unit: StringValue returned by OKX in the unit field.
Trait Implementations§
Source§impl Clone for EconomicCalendar
impl Clone for EconomicCalendar
Source§fn clone(&self) -> EconomicCalendar
fn clone(&self) -> EconomicCalendar
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 EconomicCalendar
impl Debug for EconomicCalendar
Source§impl<'de> Deserialize<'de> for EconomicCalendar
impl<'de> Deserialize<'de> for EconomicCalendar
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
Auto Trait Implementations§
impl Freeze for EconomicCalendar
impl RefUnwindSafe for EconomicCalendar
impl Send for EconomicCalendar
impl Sync for EconomicCalendar
impl Unpin for EconomicCalendar
impl UnsafeUnpin for EconomicCalendar
impl UnwindSafe for EconomicCalendar
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