pub struct ResolvedDiagnostics {
pub code: String,
pub message: String,
pub severity: Severity,
pub main_location: ResolvedLocation,
pub additional_locations: Option<Vec<ResolvedLocation>>,
}Fields§
§code: String§message: String§severity: Severity§main_location: ResolvedLocation§additional_locations: Option<Vec<ResolvedLocation>>Trait Implementations§
Source§impl Clone for ResolvedDiagnostics
impl Clone for ResolvedDiagnostics
Source§fn clone(&self) -> ResolvedDiagnostics
fn clone(&self) -> ResolvedDiagnostics
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 ResolvedDiagnostics
impl Debug for ResolvedDiagnostics
Source§impl PartialEq for ResolvedDiagnostics
impl PartialEq for ResolvedDiagnostics
Source§fn eq(&self, other: &ResolvedDiagnostics) -> bool
fn eq(&self, other: &ResolvedDiagnostics) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ResolvedDiagnostics
impl StructuralPartialEq for ResolvedDiagnostics
Auto Trait Implementations§
impl Freeze for ResolvedDiagnostics
impl RefUnwindSafe for ResolvedDiagnostics
impl Send for ResolvedDiagnostics
impl Sync for ResolvedDiagnostics
impl Unpin for ResolvedDiagnostics
impl UnsafeUnpin for ResolvedDiagnostics
impl UnwindSafe for ResolvedDiagnostics
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