pub struct UnusedDataTypesConfig {
pub enabled: bool,
pub ignore_patterns: Vec<String>,
}Expand description
Configuration for unused DataType detection.
Fields§
§enabled: boolWhether this detector is enabled.
ignore_patterns: Vec<String>Glob patterns for DataTypes to ignore.
Trait Implementations§
Source§impl Clone for UnusedDataTypesConfig
impl Clone for UnusedDataTypesConfig
Source§fn clone(&self) -> UnusedDataTypesConfig
fn clone(&self) -> UnusedDataTypesConfig
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnusedDataTypesConfig
impl Debug for UnusedDataTypesConfig
Source§impl Default for UnusedDataTypesConfig
impl Default for UnusedDataTypesConfig
Source§impl<'de> Deserialize<'de> for UnusedDataTypesConfigwhere
UnusedDataTypesConfig: Default,
impl<'de> Deserialize<'de> for UnusedDataTypesConfigwhere
UnusedDataTypesConfig: 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 UnusedDataTypesConfig
impl RefUnwindSafe for UnusedDataTypesConfig
impl Send for UnusedDataTypesConfig
impl Sync for UnusedDataTypesConfig
impl Unpin for UnusedDataTypesConfig
impl UnwindSafe for UnusedDataTypesConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)