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§
§impl Clone for DocumentDiagnosticReportKind
impl Clone for DocumentDiagnosticReportKind
§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 more§impl Debug for DocumentDiagnosticReportKind
impl Debug for DocumentDiagnosticReportKind
§impl<'de> Deserialize<'de> for DocumentDiagnosticReportKind
impl<'de> Deserialize<'de> for DocumentDiagnosticReportKind
§fn deserialize<__D>(
__deserializer: __D
) -> Result<DocumentDiagnosticReportKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<DocumentDiagnosticReportKind, <__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 From<UnchangedDocumentDiagnosticReport> for DocumentDiagnosticReportKind
impl From<UnchangedDocumentDiagnosticReport> for DocumentDiagnosticReportKind
§fn from(from: UnchangedDocumentDiagnosticReport) -> DocumentDiagnosticReportKind
fn from(from: UnchangedDocumentDiagnosticReport) -> DocumentDiagnosticReportKind
Converts to this type from the input type.
§impl PartialEq<DocumentDiagnosticReportKind> for DocumentDiagnosticReportKind
impl PartialEq<DocumentDiagnosticReportKind> for DocumentDiagnosticReportKind
§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 Serialize for DocumentDiagnosticReportKind
impl Serialize for DocumentDiagnosticReportKind
§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 DocumentDiagnosticReportKind
Auto Trait Implementations§
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