pub enum DocumentDiagnosticReportKind {
Full(FullDocumentDiagnosticReport),
Unchanged(UnchangedDocumentDiagnosticReport),
}
Expand description
The document diagnostic report kinds.
@since 3.17.0
Variants§
Full(FullDocumentDiagnosticReport)
A diagnostic report with a full set of problems.
Unchanged(UnchangedDocumentDiagnosticReport)
A report indicating that the last returned report is still accurate.
Trait Implementations§
source§impl Clone for DocumentDiagnosticReportKind
impl Clone for DocumentDiagnosticReportKind
source§fn clone(&self) -> DocumentDiagnosticReportKind
fn clone(&self) -> DocumentDiagnosticReportKind
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 DocumentDiagnosticReportKind
impl Debug for DocumentDiagnosticReportKind
source§impl<'de> Deserialize<'de> for DocumentDiagnosticReportKind
impl<'de> Deserialize<'de> for DocumentDiagnosticReportKind
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 From<UnchangedDocumentDiagnosticReport> for DocumentDiagnosticReportKind
impl From<UnchangedDocumentDiagnosticReport> for DocumentDiagnosticReportKind
source§fn from(from: UnchangedDocumentDiagnosticReport) -> Self
fn from(from: UnchangedDocumentDiagnosticReport) -> Self
Converts to this type from the input type.
source§impl PartialEq for DocumentDiagnosticReportKind
impl PartialEq for DocumentDiagnosticReportKind
source§fn eq(&self, other: &DocumentDiagnosticReportKind) -> bool
fn eq(&self, other: &DocumentDiagnosticReportKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DocumentDiagnosticReportKind
Auto Trait Implementations§
impl Freeze for DocumentDiagnosticReportKind
impl RefUnwindSafe for DocumentDiagnosticReportKind
impl Send for DocumentDiagnosticReportKind
impl Sync for DocumentDiagnosticReportKind
impl Unpin for DocumentDiagnosticReportKind
impl UnwindSafe for DocumentDiagnosticReportKind
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