pub struct ConfigIssue {
pub field: String,
pub message: String,
pub suggestion: String,
pub severity: String,
}Expand description
A single configuration issue.
Fields§
§field: StringWhich field has the problem.
message: StringWhat’s wrong.
suggestion: StringSuggested fix.
severity: StringSeverity: “error” (blocks startup) or “warning”.
Trait Implementations§
Source§impl Clone for ConfigIssue
impl Clone for ConfigIssue
Source§fn clone(&self) -> ConfigIssue
fn clone(&self) -> ConfigIssue
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 ConfigIssue
impl Debug for ConfigIssue
Source§impl<'de> Deserialize<'de> for ConfigIssue
impl<'de> Deserialize<'de> for ConfigIssue
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 ConfigIssue
impl RefUnwindSafe for ConfigIssue
impl Send for ConfigIssue
impl Sync for ConfigIssue
impl Unpin for ConfigIssue
impl UnsafeUnpin for ConfigIssue
impl UnwindSafe for ConfigIssue
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