pub struct CalendarEventInfo {Show 18 fields
pub symbol: String,
pub market: String,
pub content: String,
pub counter_name: String,
pub date_type: String,
pub date: String,
pub chart_uid: String,
pub data_kv: Vec<CalendarDataKv>,
pub event_type: String,
pub datetime: String,
pub icon: String,
pub star: i32,
pub live: Option<Value>,
pub id: String,
pub financial_market_time: String,
pub currency: String,
pub ext: Option<Value>,
pub activity_type: String,
}Expand description
One financial calendar event
Fields§
§symbol: StringSecurity symbol
market: StringMarket, e.g. "HK"
content: StringEvent content description
counter_name: StringSecurity name
date_type: StringDate type label, e.g. "盘前"
date: StringEvent date string, e.g. "2025.05.02"
chart_uid: StringChart UID (may be empty)
data_kv: Vec<CalendarDataKv>Structured data key-value pairs
event_type: StringEvent type code, e.g. "financial"
datetime: StringEvent datetime (unix timestamp string)
icon: StringIcon URL
star: i32Importance star rating (0–3)
live: Option<Value>Associated live stream (usually null)
id: StringInternal event ID
financial_market_time: StringFinancial market session time string
currency: StringCurrency
ext: Option<Value>Extended data (structure varies by event type)
activity_type: StringActivity type code
Trait Implementations§
Source§impl Clone for CalendarEventInfo
impl Clone for CalendarEventInfo
Source§fn clone(&self) -> CalendarEventInfo
fn clone(&self) -> CalendarEventInfo
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 CalendarEventInfo
impl Debug for CalendarEventInfo
Source§impl<'de> Deserialize<'de> for CalendarEventInfo
impl<'de> Deserialize<'de> for CalendarEventInfo
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 CalendarEventInfo
impl RefUnwindSafe for CalendarEventInfo
impl Send for CalendarEventInfo
impl Sync for CalendarEventInfo
impl Unpin for CalendarEventInfo
impl UnsafeUnpin for CalendarEventInfo
impl UnwindSafe for CalendarEventInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more