pub struct CtpConfig {
pub md_front_address: String,
pub trader_front_address: String,
pub broker_id: String,
pub investor_id: String,
pub password: String,
pub flow_path: String,
pub instruments: Vec<String>,
pub app_id: String,
pub auth_code: String,
pub product_info: String,
}
Expand description
CTP配置信息 (别名,用于异步API)
Fields§
§md_front_address: String
§trader_front_address: String
§broker_id: String
§investor_id: String
§password: String
§flow_path: String
§instruments: Vec<String>
§app_id: String
§auth_code: String
§product_info: String
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CtpConfig
impl RefUnwindSafe for CtpConfig
impl Send for CtpConfig
impl Sync for CtpConfig
impl Unpin for CtpConfig
impl UnwindSafe for CtpConfig
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