Struct lsp2::FullDocumentDiagnosticReport
pub struct FullDocumentDiagnosticReport {
pub result_id: Option<String>,
pub items: Vec<Diagnostic, Global>,
}
Expand description
A diagnostic report with a full set of problems.
@since 3.17.0
Fields§
§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, Global>
The actual items.
Trait Implementations§
§impl Clone for FullDocumentDiagnosticReport
impl Clone for FullDocumentDiagnosticReport
§fn clone(&self) -> FullDocumentDiagnosticReport
fn clone(&self) -> FullDocumentDiagnosticReport
Returns a copy 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 more§impl Debug for FullDocumentDiagnosticReport
impl Debug for FullDocumentDiagnosticReport
§impl Default for FullDocumentDiagnosticReport
impl Default for FullDocumentDiagnosticReport
§fn default() -> FullDocumentDiagnosticReport
fn default() -> FullDocumentDiagnosticReport
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for FullDocumentDiagnosticReport
impl<'de> Deserialize<'de> for FullDocumentDiagnosticReport
§fn deserialize<__D>(
__deserializer: __D
) -> Result<FullDocumentDiagnosticReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<FullDocumentDiagnosticReport, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl From<FullDocumentDiagnosticReport> for DocumentDiagnosticReportKind
impl From<FullDocumentDiagnosticReport> for DocumentDiagnosticReportKind
§fn from(from: FullDocumentDiagnosticReport) -> DocumentDiagnosticReportKind
fn from(from: FullDocumentDiagnosticReport) -> DocumentDiagnosticReportKind
Converts to this type from the input type.
§impl PartialEq<FullDocumentDiagnosticReport> for FullDocumentDiagnosticReport
impl PartialEq<FullDocumentDiagnosticReport> for FullDocumentDiagnosticReport
§fn eq(&self, other: &FullDocumentDiagnosticReport) -> bool
fn eq(&self, other: &FullDocumentDiagnosticReport) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for FullDocumentDiagnosticReport
impl Serialize for FullDocumentDiagnosticReport
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for FullDocumentDiagnosticReport
Auto Trait Implementations§
impl RefUnwindSafe for FullDocumentDiagnosticReport
impl Send for FullDocumentDiagnosticReport
impl Sync for FullDocumentDiagnosticReport
impl Unpin for FullDocumentDiagnosticReport
impl UnwindSafe for FullDocumentDiagnosticReport
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