pub struct ConfigWarning {
pub var: String,
pub message: String,
pub severity: Severity,
}Expand description
Configuration warning or error detected during validation.
Fields§
§var: StringThe environment variable or config key involved.
message: StringHuman-readable description of the issue.
severity: SeveritySeverity level.
Implementations§
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 (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 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
Source§impl Display for ConfigWarning
impl Display for ConfigWarning
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