pub struct RelatedFullDocumentDiagnosticReport {
pub kind: String,
pub result_id: Option<String>,
pub items: Vec<Diagnostic>,
pub related_documents: Option<HashMap<Uri, Union2<FullDocumentDiagnosticReport, UnchangedDocumentDiagnosticReport>>>,
}Expand description
A full diagnostic report with a set of related documents.
@since 3.17.0
Fields§
§kind: StringA full document diagnostic report.
result_id: Option<String>An optional result id. If provided it will be sent on the next diagnostic request for the same document.
items: Vec<Diagnostic>The actual items.
Diagnostics of related documents. This information is useful in programming languages where code in a file A can generate diagnostics in a file B which A depends on. An example of such a language is C/C++ where marco definitions in a file a.cpp and result in errors in a header file b.hpp.
@since 3.17.0
Trait Implementations§
Source§impl Clone for RelatedFullDocumentDiagnosticReport
impl Clone for RelatedFullDocumentDiagnosticReport
Source§fn clone(&self) -> RelatedFullDocumentDiagnosticReport
fn clone(&self) -> RelatedFullDocumentDiagnosticReport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for RelatedFullDocumentDiagnosticReport
impl Default for RelatedFullDocumentDiagnosticReport
Source§fn default() -> RelatedFullDocumentDiagnosticReport
fn default() -> RelatedFullDocumentDiagnosticReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RelatedFullDocumentDiagnosticReport
impl<'de> Deserialize<'de> for RelatedFullDocumentDiagnosticReport
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 RelatedFullDocumentDiagnosticReport
impl PartialEq for RelatedFullDocumentDiagnosticReport
Source§fn eq(&self, other: &RelatedFullDocumentDiagnosticReport) -> bool
fn eq(&self, other: &RelatedFullDocumentDiagnosticReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RelatedFullDocumentDiagnosticReport
impl StructuralPartialEq for RelatedFullDocumentDiagnosticReport
Auto Trait Implementations§
impl Freeze for RelatedFullDocumentDiagnosticReport
impl RefUnwindSafe for RelatedFullDocumentDiagnosticReport
impl Send for RelatedFullDocumentDiagnosticReport
impl Sync for RelatedFullDocumentDiagnosticReport
impl Unpin for RelatedFullDocumentDiagnosticReport
impl UnwindSafe for RelatedFullDocumentDiagnosticReport
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