pub enum DeprecatedWarningLevel {
Warn,
Info,
Silent,
}Expand description
How to handle deprecated rule warnings
Variants§
Warn
Show warning messages for deprecated rules (default)
Info
Show info messages for deprecated rules
Silent
Don’t show any messages for deprecated rules
Trait Implementations§
Source§impl Clone for DeprecatedWarningLevel
impl Clone for DeprecatedWarningLevel
Source§fn clone(&self) -> DeprecatedWarningLevel
fn clone(&self) -> DeprecatedWarningLevel
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 DeprecatedWarningLevel
impl Debug for DeprecatedWarningLevel
Source§impl Default for DeprecatedWarningLevel
impl Default for DeprecatedWarningLevel
Source§fn default() -> DeprecatedWarningLevel
fn default() -> DeprecatedWarningLevel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeprecatedWarningLevel
impl<'de> Deserialize<'de> for DeprecatedWarningLevel
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 DeprecatedWarningLevel
impl RefUnwindSafe for DeprecatedWarningLevel
impl Send for DeprecatedWarningLevel
impl Sync for DeprecatedWarningLevel
impl Unpin for DeprecatedWarningLevel
impl UnwindSafe for DeprecatedWarningLevel
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