Struct lsp_types::FullDocumentDiagnosticReport
source · pub struct FullDocumentDiagnosticReport {
pub result_id: Option<String>,
pub items: Vec<Diagnostic>,
}
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>
The actual items.
Trait Implementations§
source§impl Clone for FullDocumentDiagnosticReport
impl Clone for FullDocumentDiagnosticReport
source§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 moresource§impl Debug for FullDocumentDiagnosticReport
impl Debug for FullDocumentDiagnosticReport
source§impl Default for FullDocumentDiagnosticReport
impl Default for FullDocumentDiagnosticReport
source§fn default() -> FullDocumentDiagnosticReport
fn default() -> FullDocumentDiagnosticReport
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FullDocumentDiagnosticReport
impl<'de> Deserialize<'de> for FullDocumentDiagnosticReport
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 From<FullDocumentDiagnosticReport> for DocumentDiagnosticReportKind
impl From<FullDocumentDiagnosticReport> for DocumentDiagnosticReportKind
source§fn from(from: FullDocumentDiagnosticReport) -> Self
fn from(from: FullDocumentDiagnosticReport) -> Self
Converts to this type from the input type.
source§impl PartialEq for FullDocumentDiagnosticReport
impl PartialEq for FullDocumentDiagnosticReport
source§fn eq(&self, other: &FullDocumentDiagnosticReport) -> bool
fn eq(&self, other: &FullDocumentDiagnosticReport) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for FullDocumentDiagnosticReport
Auto Trait Implementations§
impl Freeze for FullDocumentDiagnosticReport
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)