pub struct NamingRuleConfig {
pub enabled: bool,
pub severity: SeverityOverride,
pub allowed_names: Vec<String>,
}Fields§
§enabled: bool§severity: SeverityOverride§allowed_names: Vec<String>Additional allowed variable names
Trait Implementations§
Source§impl Clone for NamingRuleConfig
impl Clone for NamingRuleConfig
Source§fn clone(&self) -> NamingRuleConfig
fn clone(&self) -> NamingRuleConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NamingRuleConfig
impl Debug for NamingRuleConfig
Source§impl Default for NamingRuleConfig
impl Default for NamingRuleConfig
Source§impl<'de> Deserialize<'de> for NamingRuleConfig
impl<'de> Deserialize<'de> for NamingRuleConfig
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 NamingRuleConfig
impl RefUnwindSafe for NamingRuleConfig
impl Send for NamingRuleConfig
impl Sync for NamingRuleConfig
impl Unpin for NamingRuleConfig
impl UnsafeUnpin for NamingRuleConfig
impl UnwindSafe for NamingRuleConfig
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