pub struct RunDiagnostic {
pub severity: String,
pub code: String,
pub message: String,
}Expand description
A single diagnostic emitted during a run step.
Fields§
§severity: StringSeverity level (e.g. "error", "warning", "info").
code: StringMachine-readable diagnostic code (e.g. "font.glyph_missing").
message: StringHuman-readable diagnostic message.
Trait Implementations§
Source§impl Clone for RunDiagnostic
impl Clone for RunDiagnostic
Source§fn clone(&self) -> RunDiagnostic
fn clone(&self) -> RunDiagnostic
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 RunDiagnostic
impl Debug for RunDiagnostic
Source§impl<'de> Deserialize<'de> for RunDiagnostic
impl<'de> Deserialize<'de> for RunDiagnostic
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 PartialEq for RunDiagnostic
impl PartialEq for RunDiagnostic
Source§fn eq(&self, other: &RunDiagnostic) -> bool
fn eq(&self, other: &RunDiagnostic) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RunDiagnostic
impl Serialize for RunDiagnostic
impl StructuralPartialEq for RunDiagnostic
Auto Trait Implementations§
impl Freeze for RunDiagnostic
impl RefUnwindSafe for RunDiagnostic
impl Send for RunDiagnostic
impl Sync for RunDiagnostic
impl Unpin for RunDiagnostic
impl UnsafeUnpin for RunDiagnostic
impl UnwindSafe for RunDiagnostic
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