pub struct PrintlnRuleConfig {
pub enabled: bool,
pub allow_in_main_files: bool,
pub threshold: usize,
}Fields§
§enabled: bool§allow_in_main_files: boolWhether to allow println in main.rs/lib.rs
threshold: usizeMinimum count to trigger report
Trait Implementations§
Source§impl Clone for PrintlnRuleConfig
impl Clone for PrintlnRuleConfig
Source§fn clone(&self) -> PrintlnRuleConfig
fn clone(&self) -> PrintlnRuleConfig
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 PrintlnRuleConfig
impl Debug for PrintlnRuleConfig
Source§impl Default for PrintlnRuleConfig
impl Default for PrintlnRuleConfig
Source§impl<'de> Deserialize<'de> for PrintlnRuleConfig
impl<'de> Deserialize<'de> for PrintlnRuleConfig
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 PrintlnRuleConfig
impl RefUnwindSafe for PrintlnRuleConfig
impl Send for PrintlnRuleConfig
impl Sync for PrintlnRuleConfig
impl Unpin for PrintlnRuleConfig
impl UnsafeUnpin for PrintlnRuleConfig
impl UnwindSafe for PrintlnRuleConfig
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