pub struct CustomSettings {
pub rule_bases: RuleBasesSettings,
pub rule_generation: RuleGenerationSettings,
pub emoji_settings: EmojiSettings,
pub filtering: FilteringSettings,
pub rename_node: Vec<RegexMatchRuleInToml>,
pub custom_rulesets: Vec<RulesetConfigInToml>,
pub custom_proxy_groups: Vec<ProxyGroupConfigInToml>,
}Expand description
Custom settings
Fields§
§rule_bases: RuleBasesSettings§rule_generation: RuleGenerationSettings§emoji_settings: EmojiSettings§filtering: FilteringSettings§rename_node: Vec<RegexMatchRuleInToml>§custom_rulesets: Vec<RulesetConfigInToml>§custom_proxy_groups: Vec<ProxyGroupConfigInToml>Trait Implementations§
Source§impl Clone for CustomSettings
impl Clone for CustomSettings
Source§fn clone(&self) -> CustomSettings
fn clone(&self) -> CustomSettings
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 CustomSettings
impl Debug for CustomSettings
Source§impl Default for CustomSettings
impl Default for CustomSettings
Source§fn default() -> CustomSettings
fn default() -> CustomSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomSettingswhere
CustomSettings: Default,
impl<'de> Deserialize<'de> for CustomSettingswhere
CustomSettings: 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 CustomSettings
impl RefUnwindSafe for CustomSettings
impl Send for CustomSettings
impl Sync for CustomSettings
impl Unpin for CustomSettings
impl UnwindSafe for CustomSettings
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