pub struct DiagnosticEntry {
pub code: DiagnosticCode,
pub name: &'static str,
pub origin: &'static str,
pub summary: &'static str,
pub guidance: Option<&'static str>,
}Expand description
DiagnosticEntry
Host-owned presentation for one current registered diagnostic reason.
Fields§
§code: DiagnosticCode§name: &'static str§origin: &'static str§summary: &'static str§guidance: Option<&'static str>Trait Implementations§
Source§impl Clone for DiagnosticEntry
impl Clone for DiagnosticEntry
Source§fn clone(&self) -> DiagnosticEntry
fn clone(&self) -> DiagnosticEntry
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 moreimpl Copy for DiagnosticEntry
Source§impl Debug for DiagnosticEntry
impl Debug for DiagnosticEntry
impl Eq for DiagnosticEntry
Source§impl PartialEq for DiagnosticEntry
impl PartialEq for DiagnosticEntry
impl StructuralPartialEq for DiagnosticEntry
Auto Trait Implementations§
impl Freeze for DiagnosticEntry
impl RefUnwindSafe for DiagnosticEntry
impl Send for DiagnosticEntry
impl Sync for DiagnosticEntry
impl Unpin for DiagnosticEntry
impl UnsafeUnpin for DiagnosticEntry
impl UnwindSafe for DiagnosticEntry
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,
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.