pub struct XmlConfig {Show 28 fields
pub login_account: Option<String>,
pub login_pwd: Option<String>,
pub login_pwd_md5: Option<String>,
pub login_pwd_file: Option<String>,
pub login_region: Option<LoginRegion>,
pub platform: Option<Platform>,
pub ip: Option<String>,
pub port: Option<u16>,
pub websocket_port: Option<u16>,
pub telnet_port: Option<u16>,
pub telnet_ip: Option<String>,
pub rest_port: Option<u16>,
pub grpc_port: Option<u16>,
pub rsa_private_key: Option<String>,
pub lang: Option<String>,
pub log_level: Option<LogLevel>,
pub rest_keys_file: Option<PathBuf>,
pub grpc_keys_file: Option<PathBuf>,
pub ws_keys_file: Option<PathBuf>,
pub audit_log: Option<PathBuf>,
pub allow_tcp_unauthenticated: Option<bool>,
pub tz: Option<String>,
pub language_pack_auto_update: Option<bool>,
pub language_pack_endpoint: Option<String>,
pub language_pack_cache_dir: Option<PathBuf>,
pub language_pack_update_timeout_ms: Option<u64>,
pub client_sig_proactive_refresh: Option<bool>,
pub client_sig_reactive_refresh: Option<bool>,
}Fields§
§login_account: Option<String>§login_pwd: Option<String>§login_pwd_md5: Option<String>§login_pwd_file: Option<String>§login_region: Option<LoginRegion>§platform: Option<Platform>账号平台(v1.4.14+)—— “futunn” 或 “moomoo”
ip: Option<String>§port: Option<u16>§websocket_port: Option<u16>§telnet_port: Option<u16>§telnet_ip: Option<String>§rest_port: Option<u16>§grpc_port: Option<u16>§rsa_private_key: Option<String>§lang: Option<String>§log_level: Option<LogLevel>§rest_keys_file: Option<PathBuf>§grpc_keys_file: Option<PathBuf>§ws_keys_file: Option<PathBuf>§audit_log: Option<PathBuf>§allow_tcp_unauthenticated: Option<bool>§tz: Option<String>IANA timezone name (e.g. “Asia/Hong_Kong”). 与 –tz CLI flag 同源.
language_pack_auto_update: Option<bool>Language-pack background update. Defaults true in RuntimeConfig.
language_pack_endpoint: Option<String>Language-pack HTTPS endpoint or manifest URL. Empty means no network.
language_pack_cache_dir: Option<PathBuf>Language-pack cache root.
language_pack_update_timeout_ms: Option<u64>Language-pack update HTTP timeout in milliseconds.
client_sig_proactive_refresh: Option<bool>Long-runner opt-in: proactive client_sig refresh 1h before expiry.
client_sig_reactive_refresh: Option<bool>Long-runner opt-in: reactive client_sig refresh after repeated tcp_login failures.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for XmlConfig
impl<'de> Deserialize<'de> for XmlConfig
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 XmlConfig
impl RefUnwindSafe for XmlConfig
impl Send for XmlConfig
impl Sync for XmlConfig
impl Unpin for XmlConfig
impl UnsafeUnpin for XmlConfig
impl UnwindSafe for XmlConfig
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<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>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].