pub struct ExtraSettings {Show 25 fields
pub enable_rule_generator: bool,
pub overwrite_original_rules: bool,
pub rename_array: RegexMatchConfigs,
pub emoji_array: RegexMatchConfigs,
pub add_emoji: bool,
pub remove_emoji: bool,
pub append_proxy_type: bool,
pub nodelist: bool,
pub sort_flag: bool,
pub filter_deprecated: bool,
pub clash_new_field_name: bool,
pub clash_script: bool,
pub surge_ssr_path: String,
pub managed_config_prefix: String,
pub quanx_dev_id: String,
pub udp: Option<bool>,
pub tfo: Option<bool>,
pub skip_cert_verify: Option<bool>,
pub tls13: Option<bool>,
pub clash_classical_ruleset: bool,
pub sort_script: String,
pub clash_proxies_style: String,
pub clash_proxy_groups_style: String,
pub authorized: bool,
pub js_context: Option<()>,
}Expand description
Settings for subscription export operations
Fields§
§enable_rule_generator: boolWhether to enable the rule generator
overwrite_original_rules: boolWhether to overwrite original rules
rename_array: RegexMatchConfigsRename operations to apply
emoji_array: RegexMatchConfigsEmoji operations to apply
add_emoji: boolWhether to add emoji
remove_emoji: boolWhether to remove emoji
append_proxy_type: boolWhether to append proxy type
nodelist: boolWhether to output as node list
sort_flag: boolWhether to sort nodes
filter_deprecated: boolWhether to filter deprecated nodes
clash_new_field_name: boolWhether to use new field names in Clash
clash_script: boolWhether to use scripts in Clash
surge_ssr_path: StringPath to Surge SSR binary
managed_config_prefix: StringPrefix for managed configs
quanx_dev_id: StringQuantumultX device ID
udp: Option<bool>UDP support flag
tfo: Option<bool>TCP Fast Open support flag
skip_cert_verify: Option<bool>Skip certificate verification flag
tls13: Option<bool>TLS 1.3 support flag
clash_classical_ruleset: boolWhether to use classical ruleset in Clash
sort_script: StringScript for sorting nodes
clash_proxies_style: StringStyle for Clash proxies output
clash_proxy_groups_style: StringStyle for Clash proxy groups output
Whether the export is authorized
js_context: Option<()>JavaScript runtime context (not implemented in Rust version)
Trait Implementations§
Source§impl Clone for ExtraSettings
impl Clone for ExtraSettings
Source§fn clone(&self) -> ExtraSettings
fn clone(&self) -> ExtraSettings
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more