pub struct EmptyRoutinesConfig {
pub enabled: bool,
pub ignore_patterns: Vec<String>,
}Expand description
Configuration for empty routine detection.
Fields§
§enabled: boolWhether this detector is enabled.
ignore_patterns: Vec<String>Glob patterns for routines to ignore.
Trait Implementations§
Source§impl Clone for EmptyRoutinesConfig
impl Clone for EmptyRoutinesConfig
Source§fn clone(&self) -> EmptyRoutinesConfig
fn clone(&self) -> EmptyRoutinesConfig
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 EmptyRoutinesConfig
impl Debug for EmptyRoutinesConfig
Source§impl Default for EmptyRoutinesConfig
impl Default for EmptyRoutinesConfig
Source§impl<'de> Deserialize<'de> for EmptyRoutinesConfigwhere
EmptyRoutinesConfig: Default,
impl<'de> Deserialize<'de> for EmptyRoutinesConfigwhere
EmptyRoutinesConfig: 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 EmptyRoutinesConfig
impl RefUnwindSafe for EmptyRoutinesConfig
impl Send for EmptyRoutinesConfig
impl Sync for EmptyRoutinesConfig
impl Unpin for EmptyRoutinesConfig
impl UnwindSafe for EmptyRoutinesConfig
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