pub struct ConfigWarning {
pub field: String,
pub message: String,
pub severity: WarningSeverity,
}Expand description
A non-fatal advisory raised by ConfigValidator.
Fields§
§field: StringThe field or aspect that triggered the warning.
message: StringHuman-readable explanation.
severity: WarningSeverityHow serious this warning is.
Trait Implementations§
Source§impl Clone for ConfigWarning
impl Clone for ConfigWarning
Source§fn clone(&self) -> ConfigWarning
fn clone(&self) -> ConfigWarning
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 ConfigWarning
impl Debug for ConfigWarning
Source§impl<'de> Deserialize<'de> for ConfigWarning
impl<'de> Deserialize<'de> for ConfigWarning
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 ConfigWarning
impl RefUnwindSafe for ConfigWarning
impl Send for ConfigWarning
impl Sync for ConfigWarning
impl Unpin for ConfigWarning
impl UnsafeUnpin for ConfigWarning
impl UnwindSafe for ConfigWarning
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