pub struct RelatedUnchangedDocumentDiagnosticReport {
pub kind: String,
pub result_id: String,
pub related_documents: Option<HashMap<Uri, RelatedDocumentDiagnosticReport>>,
}Expand description
An unchanged diagnostic report with a set of related documents.
@since 3.17.0
Fields§
§kind: StringA document diagnostic report indicating
no changes to the last result. A server can
only return unchanged if result ids are
provided.
result_id: StringA result id which will be sent on the next diagnostic request for the same document.
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 RelatedUnchangedDocumentDiagnosticReport
impl Clone for RelatedUnchangedDocumentDiagnosticReport
Source§fn clone(&self) -> RelatedUnchangedDocumentDiagnosticReport
fn clone(&self) -> RelatedUnchangedDocumentDiagnosticReport
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 Default for RelatedUnchangedDocumentDiagnosticReport
impl Default for RelatedUnchangedDocumentDiagnosticReport
Source§fn default() -> RelatedUnchangedDocumentDiagnosticReport
fn default() -> RelatedUnchangedDocumentDiagnosticReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RelatedUnchangedDocumentDiagnosticReport
impl<'de> Deserialize<'de> for RelatedUnchangedDocumentDiagnosticReport
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
impl Eq for RelatedUnchangedDocumentDiagnosticReport
Source§impl From<RelatedUnchangedDocumentDiagnosticReport> for DocumentDiagnosticReport
impl From<RelatedUnchangedDocumentDiagnosticReport> for DocumentDiagnosticReport
Source§fn from(value: RelatedUnchangedDocumentDiagnosticReport) -> Self
fn from(value: RelatedUnchangedDocumentDiagnosticReport) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for RelatedUnchangedDocumentDiagnosticReport
Auto Trait Implementations§
impl Freeze for RelatedUnchangedDocumentDiagnosticReport
impl RefUnwindSafe for RelatedUnchangedDocumentDiagnosticReport
impl Send for RelatedUnchangedDocumentDiagnosticReport
impl Sync for RelatedUnchangedDocumentDiagnosticReport
impl Unpin for RelatedUnchangedDocumentDiagnosticReport
impl UnsafeUnpin for RelatedUnchangedDocumentDiagnosticReport
impl UnwindSafe for RelatedUnchangedDocumentDiagnosticReport
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