pub struct DiagnosticEntry {
pub id: DiagnosticInstanceId,
pub insertion_order: u64,
pub effective_severity: Severity,
pub diagnostic: OwnedDiagnostic,
/* private fields */
}Expand description
One finalized diagnostic occurrence.
Fields§
§id: DiagnosticInstanceId§insertion_order: u64§effective_severity: Severity§diagnostic: OwnedDiagnosticImplementations§
Source§impl DiagnosticEntry
impl DiagnosticEntry
Sourcepub fn metadata(&self) -> DiagnosticMetadata<'_>
pub fn metadata(&self) -> DiagnosticMetadata<'_>
Returns the policy-visible metadata captured when this occurrence was accepted.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DiagnosticEntry
impl !UnwindSafe for DiagnosticEntry
impl Forget for DiagnosticEntry
impl Freeze for DiagnosticEntry
impl Move for DiagnosticEntry
impl Send for DiagnosticEntry
impl Sync for DiagnosticEntry
impl Unpin for DiagnosticEntry
impl UnsafeUnpin 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