pub struct LeanWorkerDiagnostic {
pub severity: String,
pub message: String,
pub file_label: String,
pub line: Option<u32>,
pub column: Option<u32>,
pub end_line: Option<u32>,
pub end_column: Option<u32>,
}Expand description
Serializable diagnostic returned by worker elaboration and kernel checks.
Fields§
§severity: String§message: String§file_label: String§line: Option<u32>§column: Option<u32>§end_line: Option<u32>§end_column: Option<u32>Trait Implementations§
Source§impl Clone for LeanWorkerDiagnostic
impl Clone for LeanWorkerDiagnostic
Source§fn clone(&self) -> LeanWorkerDiagnostic
fn clone(&self) -> LeanWorkerDiagnostic
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 LeanWorkerDiagnostic
impl Debug for LeanWorkerDiagnostic
Source§impl PartialEq for LeanWorkerDiagnostic
impl PartialEq for LeanWorkerDiagnostic
Source§fn eq(&self, other: &LeanWorkerDiagnostic) -> bool
fn eq(&self, other: &LeanWorkerDiagnostic) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LeanWorkerDiagnostic
impl StructuralPartialEq for LeanWorkerDiagnostic
Auto Trait Implementations§
impl Freeze for LeanWorkerDiagnostic
impl RefUnwindSafe for LeanWorkerDiagnostic
impl Send for LeanWorkerDiagnostic
impl Sync for LeanWorkerDiagnostic
impl Unpin for LeanWorkerDiagnostic
impl UnsafeUnpin for LeanWorkerDiagnostic
impl UnwindSafe for LeanWorkerDiagnostic
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