pub struct DiagnosticJson {
pub severity: String,
pub kind: String,
pub line: usize,
pub column: usize,
pub end_line: usize,
pub end_column: usize,
pub message: String,
pub help: Option<String>,
pub code: Option<String>,
pub fix_hint: Option<FixHint>,
}Fields§
§severity: String§kind: String§line: usize§column: usize§end_line: usize§end_column: usize§message: String§help: Option<String>§code: Option<String>Stable code for code actions, e.g. left-recursion.
fix_hint: Option<FixHint>Trait Implementations§
Source§impl Clone for DiagnosticJson
impl Clone for DiagnosticJson
Source§fn clone(&self) -> DiagnosticJson
fn clone(&self) -> DiagnosticJson
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 DiagnosticJson
impl Debug for DiagnosticJson
Auto Trait Implementations§
impl Freeze for DiagnosticJson
impl RefUnwindSafe for DiagnosticJson
impl Send for DiagnosticJson
impl Sync for DiagnosticJson
impl Unpin for DiagnosticJson
impl UnsafeUnpin for DiagnosticJson
impl UnwindSafe for DiagnosticJson
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