struct StaticJson {
symbol: String,
id: i64,
market: i32,
code: String,
name: String,
sec_type: i32,
lot_size: i32,
list_time: String,
delisting: bool,
exchange_code: Option<String>,
}Fields§
§symbol: String§id: i64§market: i32§code: String§name: String§sec_type: i32§lot_size: i32§list_time: String§delisting: bool§exchange_code: Option<String>v1.4.93 P1-3 (BUG-5318-003): exchange_code (e.g. “CME”/“NYSE”/“NYMEX”)
派生自 daemon 的 derive_exch_type_with_fallback (cache-first +
mkt_id fallback). 见 futu_core::exch_type::exch_type_to_string.
null 表示 daemon 端 exch_type=Unknown(0) 且 mkt_id 未在表中.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StaticJson
impl RefUnwindSafe for StaticJson
impl Send for StaticJson
impl Sync for StaticJson
impl Unpin for StaticJson
impl UnsafeUnpin for StaticJson
impl UnwindSafe for StaticJson
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§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