pub struct UnusedTagsConfig {
pub enabled: bool,
pub ignore_patterns: Vec<String>,
pub ignore_scopes: Vec<String>,
}Expand description
Configuration for unused tag detection.
Fields§
§enabled: boolWhether this detector is enabled.
ignore_patterns: Vec<String>Glob patterns for tags to ignore.
ignore_scopes: Vec<String>Scopes to ignore (e.g., “Program:MainProgram”).
Trait Implementations§
Source§impl Clone for UnusedTagsConfig
impl Clone for UnusedTagsConfig
Source§fn clone(&self) -> UnusedTagsConfig
fn clone(&self) -> UnusedTagsConfig
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 UnusedTagsConfig
impl Debug for UnusedTagsConfig
Source§impl Default for UnusedTagsConfig
impl Default for UnusedTagsConfig
Source§impl<'de> Deserialize<'de> for UnusedTagsConfigwhere
UnusedTagsConfig: Default,
impl<'de> Deserialize<'de> for UnusedTagsConfigwhere
UnusedTagsConfig: 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 UnusedTagsConfig
impl RefUnwindSafe for UnusedTagsConfig
impl Send for UnusedTagsConfig
impl Sync for UnusedTagsConfig
impl Unpin for UnusedTagsConfig
impl UnwindSafe for UnusedTagsConfig
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