pub struct DiagnosticEntry {
pub file: String,
pub line: usize,
pub severity: String,
pub message: String,
pub source: String,
}Expand description
Diagnostic entry for injection
Fields§
§file: StringFile path
line: usizeLine number
severity: StringSeverity (error, warning, info)
message: StringMessage
source: StringSource (rustc, rust-analyzer, etc.)
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 moreAuto 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