pub struct CommonSettings {Show 26 fields
pub api_mode: bool,
pub api_access_token: String,
pub default_url: Vec<String>,
pub enable_insert: bool,
pub insert_url: Vec<String>,
pub prepend_insert_url: bool,
pub exclude_remarks: Vec<String>,
pub include_remarks: Vec<String>,
pub enable_filter: bool,
pub filter_script: String,
pub default_external_config: String,
pub base_path: String,
pub clash_rule_base: String,
pub surge_rule_base: String,
pub surfboard_rule_base: String,
pub mellow_rule_base: String,
pub quan_rule_base: String,
pub quanx_rule_base: String,
pub loon_rule_base: String,
pub sssub_rule_base: String,
pub singbox_rule_base: String,
pub proxy_config: String,
pub proxy_ruleset: String,
pub proxy_subscription: String,
pub append_proxy_type: bool,
pub reload_conf_on_request: bool,
}Expand description
Common settings section
Fields§
§api_mode: bool§api_access_token: String§default_url: Vec<String>§enable_insert: bool§insert_url: Vec<String>§prepend_insert_url: bool§exclude_remarks: Vec<String>§include_remarks: Vec<String>§enable_filter: bool§filter_script: String§default_external_config: String§base_path: String§clash_rule_base: String§surge_rule_base: String§surfboard_rule_base: String§mellow_rule_base: String§quan_rule_base: String§quanx_rule_base: String§loon_rule_base: String§sssub_rule_base: String§singbox_rule_base: String§proxy_config: String§proxy_ruleset: String§proxy_subscription: String§append_proxy_type: bool§reload_conf_on_request: boolTrait Implementations§
Source§impl Clone for CommonSettings
impl Clone for CommonSettings
Source§fn clone(&self) -> CommonSettings
fn clone(&self) -> CommonSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommonSettings
impl Debug for CommonSettings
Source§impl Default for CommonSettings
impl Default for CommonSettings
Source§fn default() -> CommonSettings
fn default() -> CommonSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommonSettingswhere
CommonSettings: Default,
impl<'de> Deserialize<'de> for CommonSettingswhere
CommonSettings: Default,
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 CommonSettings
impl RefUnwindSafe for CommonSettings
impl Send for CommonSettings
impl Sync for CommonSettings
impl Unpin for CommonSettings
impl UnwindSafe for CommonSettings
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