pub struct AdvisoryWarning {
pub code: &'static str,
pub message: String,
pub path: &'static str,
}Expand description
An advisory warning about a configuration issue.
Fields§
§code: &'static strMachine-readable warning code.
message: StringHuman-readable warning message.
path: &'static strConfig path to the problematic field.
Implementations§
Trait Implementations§
Source§impl Clone for AdvisoryWarning
impl Clone for AdvisoryWarning
Source§fn clone(&self) -> AdvisoryWarning
fn clone(&self) -> AdvisoryWarning
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 AdvisoryWarning
impl Debug for AdvisoryWarning
Source§impl Display for AdvisoryWarning
impl Display for AdvisoryWarning
Source§impl PartialEq for AdvisoryWarning
impl PartialEq for AdvisoryWarning
impl Eq for AdvisoryWarning
impl StructuralPartialEq for AdvisoryWarning
Auto Trait Implementations§
impl Freeze for AdvisoryWarning
impl RefUnwindSafe for AdvisoryWarning
impl Send for AdvisoryWarning
impl Sync for AdvisoryWarning
impl Unpin for AdvisoryWarning
impl UnsafeUnpin for AdvisoryWarning
impl UnwindSafe for AdvisoryWarning
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.