pub struct CachedSecurityInfo {
pub stock_id: u64,
pub market: i32,
pub code: String,
pub name: String,
pub lot_size: i32,
pub sec_type: i32,
pub list_time: String,
pub warrnt_stock_owner: u64,
pub delisting: bool,
pub exch_type: i32,
pub no_search: bool,
}Expand description
股票静态信息
Fields§
§stock_id: u64§market: i32§code: String§name: String§lot_size: i32§sec_type: i32§list_time: String§warrnt_stock_owner: u64窝轮所属正股 ID, 0 表示无
delisting: bool是否已退市
exch_type: i32交易所类型 (ExchType)
no_search: bool不可搜索标记 (对齐 C++ no_search 字段)
Trait Implementations§
Source§impl Clone for CachedSecurityInfo
impl Clone for CachedSecurityInfo
Source§fn clone(&self) -> CachedSecurityInfo
fn clone(&self) -> CachedSecurityInfo
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 moreAuto Trait Implementations§
impl Freeze for CachedSecurityInfo
impl RefUnwindSafe for CachedSecurityInfo
impl Send for CachedSecurityInfo
impl Sync for CachedSecurityInfo
impl Unpin for CachedSecurityInfo
impl UnwindSafe for CachedSecurityInfo
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