pub struct XmlConfig {Show 21 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 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>,
}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>§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 同源.
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].