pub struct DiagnosticHint {
pub severity: HintSeverity,
pub kind: String,
pub message: String,
}Expand description
Non-fatal diagnostic hint emitted by configuration validation. Hints surface structural incompatibilities that the operator may want to know about but that don’t block the browser from launching.
Fields§
§severity: HintSeveritySeverity — Warning is the default for structural incompatibilities.
kind: StringShort identifier (e.g. "protocol_downgrade"). Stable across
versions; useful for tooling that wants to ignore specific hints.
message: StringHuman-readable message.
Implementations§
Trait Implementations§
Source§impl Clone for DiagnosticHint
impl Clone for DiagnosticHint
Source§fn clone(&self) -> DiagnosticHint
fn clone(&self) -> DiagnosticHint
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 DiagnosticHint
impl Debug for DiagnosticHint
Source§impl<'de> Deserialize<'de> for DiagnosticHint
impl<'de> Deserialize<'de> for DiagnosticHint
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 DiagnosticHint
impl Display for DiagnosticHint
impl Eq for DiagnosticHint
Source§impl PartialEq for DiagnosticHint
impl PartialEq for DiagnosticHint
Source§fn eq(&self, other: &DiagnosticHint) -> bool
fn eq(&self, other: &DiagnosticHint) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DiagnosticHint
impl Serialize for DiagnosticHint
impl StructuralPartialEq for DiagnosticHint
Auto Trait Implementations§
impl Freeze for DiagnosticHint
impl RefUnwindSafe for DiagnosticHint
impl Send for DiagnosticHint
impl Sync for DiagnosticHint
impl Unpin for DiagnosticHint
impl UnsafeUnpin for DiagnosticHint
impl UnwindSafe for DiagnosticHint
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.