pub struct ApiSettingsConfig {Show 36 fields
pub read_only_api: Option<bool>,
pub total_quantity_for_mutual_funds: Option<bool>,
pub download_open_orders_on_connection: Option<bool>,
pub include_virtual_fx_positions: Option<bool>,
pub prepare_daily_pn_l: Option<bool>,
pub send_status_updates_for_volatility_orders: Option<bool>,
pub encode_api_messages: Option<String>,
pub socket_port: Option<i32>,
pub use_negative_auto_range: Option<bool>,
pub create_api_message_log_file: Option<bool>,
pub include_market_data_in_log_file: Option<bool>,
pub expose_trading_schedule_to_api: Option<bool>,
pub split_insured_deposit_from_cash_balance: Option<bool>,
pub send_zero_positions_for_today_only: Option<bool>,
pub let_api_account_requests_switch_subscription: Option<bool>,
pub use_account_groups_with_allocation_methods: Option<bool>,
pub logging_level: Option<String>,
pub master_client_id: Option<i32>,
pub bulk_data_timeout: Option<i32>,
pub component_exch_separator: Option<String>,
pub show_forex_data_in1_10pips: Option<bool>,
pub allow_forex_trading_in1_10pips: Option<bool>,
pub round_account_values_to_nearest_whole_number: Option<bool>,
pub send_market_data_in_lots_for_us_stocks: Option<bool>,
pub show_advanced_order_reject_in_ui: Option<bool>,
pub reject_messages_above_max_rate: Option<bool>,
pub maintain_connection_on_incorrect_fields: Option<bool>,
pub compatibility_mode_nasdaq_stocks: Option<bool>,
pub send_instrument_timezone: Option<String>,
pub send_forex_data_in_compatibility_mode: Option<bool>,
pub maintain_and_resubmit_orders_on_reconnect: Option<bool>,
pub historical_data_max_size: Option<i32>,
pub auto_report_netting_event_contract_trades: Option<bool>,
pub option_exercise_request_type: Option<String>,
pub allow_localhost_only: Option<bool>,
pub trusted_i_ps: Vec<String>,
}Fields§
§read_only_api: Option<bool>§total_quantity_for_mutual_funds: Option<bool>§download_open_orders_on_connection: Option<bool>§include_virtual_fx_positions: Option<bool>§prepare_daily_pn_l: Option<bool>§send_status_updates_for_volatility_orders: Option<bool>§encode_api_messages: Option<String>§socket_port: Option<i32>§use_negative_auto_range: Option<bool>§create_api_message_log_file: Option<bool>§include_market_data_in_log_file: Option<bool>§expose_trading_schedule_to_api: Option<bool>§split_insured_deposit_from_cash_balance: Option<bool>§send_zero_positions_for_today_only: Option<bool>§let_api_account_requests_switch_subscription: Option<bool>§use_account_groups_with_allocation_methods: Option<bool>§logging_level: Option<String>§master_client_id: Option<i32>§bulk_data_timeout: Option<i32>§component_exch_separator: Option<String>§show_forex_data_in1_10pips: Option<bool>§allow_forex_trading_in1_10pips: Option<bool>§round_account_values_to_nearest_whole_number: Option<bool>§send_market_data_in_lots_for_us_stocks: Option<bool>§show_advanced_order_reject_in_ui: Option<bool>§reject_messages_above_max_rate: Option<bool>§maintain_connection_on_incorrect_fields: Option<bool>§compatibility_mode_nasdaq_stocks: Option<bool>§send_instrument_timezone: Option<String>§send_forex_data_in_compatibility_mode: Option<bool>§maintain_and_resubmit_orders_on_reconnect: Option<bool>§historical_data_max_size: Option<i32>§auto_report_netting_event_contract_trades: Option<bool>§option_exercise_request_type: Option<String>§allow_localhost_only: Option<bool>§trusted_i_ps: Vec<String>Implementations§
Source§impl ApiSettingsConfig
impl ApiSettingsConfig
Sourcepub fn read_only_api(&self) -> bool
pub fn read_only_api(&self) -> bool
Returns the value of read_only_api, or the default value if read_only_api is unset.
Sourcepub fn total_quantity_for_mutual_funds(&self) -> bool
pub fn total_quantity_for_mutual_funds(&self) -> bool
Returns the value of total_quantity_for_mutual_funds, or the default value if total_quantity_for_mutual_funds is unset.
Sourcepub fn download_open_orders_on_connection(&self) -> bool
pub fn download_open_orders_on_connection(&self) -> bool
Returns the value of download_open_orders_on_connection, or the default value if download_open_orders_on_connection is unset.
Sourcepub fn include_virtual_fx_positions(&self) -> bool
pub fn include_virtual_fx_positions(&self) -> bool
Returns the value of include_virtual_fx_positions, or the default value if include_virtual_fx_positions is unset.
Sourcepub fn prepare_daily_pn_l(&self) -> bool
pub fn prepare_daily_pn_l(&self) -> bool
Returns the value of prepare_daily_pn_l, or the default value if prepare_daily_pn_l is unset.
Sourcepub fn send_status_updates_for_volatility_orders(&self) -> bool
pub fn send_status_updates_for_volatility_orders(&self) -> bool
Returns the value of send_status_updates_for_volatility_orders, or the default value if send_status_updates_for_volatility_orders is unset.
Sourcepub fn encode_api_messages(&self) -> &str
pub fn encode_api_messages(&self) -> &str
Returns the value of encode_api_messages, or the default value if encode_api_messages is unset.
Sourcepub fn socket_port(&self) -> i32
pub fn socket_port(&self) -> i32
Returns the value of socket_port, or the default value if socket_port is unset.
Sourcepub fn use_negative_auto_range(&self) -> bool
pub fn use_negative_auto_range(&self) -> bool
Returns the value of use_negative_auto_range, or the default value if use_negative_auto_range is unset.
Sourcepub fn create_api_message_log_file(&self) -> bool
pub fn create_api_message_log_file(&self) -> bool
Returns the value of create_api_message_log_file, or the default value if create_api_message_log_file is unset.
Sourcepub fn include_market_data_in_log_file(&self) -> bool
pub fn include_market_data_in_log_file(&self) -> bool
Returns the value of include_market_data_in_log_file, or the default value if include_market_data_in_log_file is unset.
Sourcepub fn expose_trading_schedule_to_api(&self) -> bool
pub fn expose_trading_schedule_to_api(&self) -> bool
Returns the value of expose_trading_schedule_to_api, or the default value if expose_trading_schedule_to_api is unset.
Sourcepub fn split_insured_deposit_from_cash_balance(&self) -> bool
pub fn split_insured_deposit_from_cash_balance(&self) -> bool
Returns the value of split_insured_deposit_from_cash_balance, or the default value if split_insured_deposit_from_cash_balance is unset.
Sourcepub fn send_zero_positions_for_today_only(&self) -> bool
pub fn send_zero_positions_for_today_only(&self) -> bool
Returns the value of send_zero_positions_for_today_only, or the default value if send_zero_positions_for_today_only is unset.
Sourcepub fn let_api_account_requests_switch_subscription(&self) -> bool
pub fn let_api_account_requests_switch_subscription(&self) -> bool
Returns the value of let_api_account_requests_switch_subscription, or the default value if let_api_account_requests_switch_subscription is unset.
Sourcepub fn use_account_groups_with_allocation_methods(&self) -> bool
pub fn use_account_groups_with_allocation_methods(&self) -> bool
Returns the value of use_account_groups_with_allocation_methods, or the default value if use_account_groups_with_allocation_methods is unset.
Sourcepub fn logging_level(&self) -> &str
pub fn logging_level(&self) -> &str
Returns the value of logging_level, or the default value if logging_level is unset.
Sourcepub fn master_client_id(&self) -> i32
pub fn master_client_id(&self) -> i32
Returns the value of master_client_id, or the default value if master_client_id is unset.
Sourcepub fn bulk_data_timeout(&self) -> i32
pub fn bulk_data_timeout(&self) -> i32
Returns the value of bulk_data_timeout, or the default value if bulk_data_timeout is unset.
Sourcepub fn component_exch_separator(&self) -> &str
pub fn component_exch_separator(&self) -> &str
Returns the value of component_exch_separator, or the default value if component_exch_separator is unset.
Sourcepub fn show_forex_data_in1_10pips(&self) -> bool
pub fn show_forex_data_in1_10pips(&self) -> bool
Returns the value of show_forex_data_in1_10pips, or the default value if show_forex_data_in1_10pips is unset.
Sourcepub fn allow_forex_trading_in1_10pips(&self) -> bool
pub fn allow_forex_trading_in1_10pips(&self) -> bool
Returns the value of allow_forex_trading_in1_10pips, or the default value if allow_forex_trading_in1_10pips is unset.
Sourcepub fn round_account_values_to_nearest_whole_number(&self) -> bool
pub fn round_account_values_to_nearest_whole_number(&self) -> bool
Returns the value of round_account_values_to_nearest_whole_number, or the default value if round_account_values_to_nearest_whole_number is unset.
Sourcepub fn send_market_data_in_lots_for_us_stocks(&self) -> bool
pub fn send_market_data_in_lots_for_us_stocks(&self) -> bool
Returns the value of send_market_data_in_lots_for_us_stocks, or the default value if send_market_data_in_lots_for_us_stocks is unset.
Sourcepub fn show_advanced_order_reject_in_ui(&self) -> bool
pub fn show_advanced_order_reject_in_ui(&self) -> bool
Returns the value of show_advanced_order_reject_in_ui, or the default value if show_advanced_order_reject_in_ui is unset.
Sourcepub fn reject_messages_above_max_rate(&self) -> bool
pub fn reject_messages_above_max_rate(&self) -> bool
Returns the value of reject_messages_above_max_rate, or the default value if reject_messages_above_max_rate is unset.
Sourcepub fn maintain_connection_on_incorrect_fields(&self) -> bool
pub fn maintain_connection_on_incorrect_fields(&self) -> bool
Returns the value of maintain_connection_on_incorrect_fields, or the default value if maintain_connection_on_incorrect_fields is unset.
Sourcepub fn compatibility_mode_nasdaq_stocks(&self) -> bool
pub fn compatibility_mode_nasdaq_stocks(&self) -> bool
Returns the value of compatibility_mode_nasdaq_stocks, or the default value if compatibility_mode_nasdaq_stocks is unset.
Sourcepub fn send_instrument_timezone(&self) -> &str
pub fn send_instrument_timezone(&self) -> &str
Returns the value of send_instrument_timezone, or the default value if send_instrument_timezone is unset.
Sourcepub fn send_forex_data_in_compatibility_mode(&self) -> bool
pub fn send_forex_data_in_compatibility_mode(&self) -> bool
Returns the value of send_forex_data_in_compatibility_mode, or the default value if send_forex_data_in_compatibility_mode is unset.
Sourcepub fn maintain_and_resubmit_orders_on_reconnect(&self) -> bool
pub fn maintain_and_resubmit_orders_on_reconnect(&self) -> bool
Returns the value of maintain_and_resubmit_orders_on_reconnect, or the default value if maintain_and_resubmit_orders_on_reconnect is unset.
Sourcepub fn historical_data_max_size(&self) -> i32
pub fn historical_data_max_size(&self) -> i32
Returns the value of historical_data_max_size, or the default value if historical_data_max_size is unset.
Sourcepub fn auto_report_netting_event_contract_trades(&self) -> bool
pub fn auto_report_netting_event_contract_trades(&self) -> bool
Returns the value of auto_report_netting_event_contract_trades, or the default value if auto_report_netting_event_contract_trades is unset.
Sourcepub fn option_exercise_request_type(&self) -> &str
pub fn option_exercise_request_type(&self) -> &str
Returns the value of option_exercise_request_type, or the default value if option_exercise_request_type is unset.
Sourcepub fn allow_localhost_only(&self) -> bool
pub fn allow_localhost_only(&self) -> bool
Returns the value of allow_localhost_only, or the default value if allow_localhost_only is unset.
Trait Implementations§
Source§impl Clone for ApiSettingsConfig
impl Clone for ApiSettingsConfig
Source§fn clone(&self) -> ApiSettingsConfig
fn clone(&self) -> ApiSettingsConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ApiSettingsConfig
impl Debug for ApiSettingsConfig
Source§impl Default for ApiSettingsConfig
impl Default for ApiSettingsConfig
impl Eq for ApiSettingsConfig
Source§impl Hash for ApiSettingsConfig
impl Hash for ApiSettingsConfig
Source§impl Message for ApiSettingsConfig
impl Message for ApiSettingsConfig
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.