pub enum DocumentDiagnosticReportResult {
Report(DocumentDiagnosticReport),
Partial(DocumentDiagnosticReportPartialResult),
}
Variants§
Report(DocumentDiagnosticReport)
Partial(DocumentDiagnosticReportPartialResult)
Trait Implementations§
source§impl Clone for DocumentDiagnosticReportResult
impl Clone for DocumentDiagnosticReportResult
source§fn clone(&self) -> DocumentDiagnosticReportResult
fn clone(&self) -> DocumentDiagnosticReportResult
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<'de> Deserialize<'de> for DocumentDiagnosticReportResult
impl<'de> Deserialize<'de> for DocumentDiagnosticReportResult
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<DocumentDiagnosticReport> for DocumentDiagnosticReportResult
impl From<DocumentDiagnosticReport> for DocumentDiagnosticReportResult
source§fn from(from: DocumentDiagnosticReport) -> Self
fn from(from: DocumentDiagnosticReport) -> Self
Converts to this type from the input type.
source§impl From<DocumentDiagnosticReportPartialResult> for DocumentDiagnosticReportResult
impl From<DocumentDiagnosticReportPartialResult> for DocumentDiagnosticReportResult
source§fn from(from: DocumentDiagnosticReportPartialResult) -> Self
fn from(from: DocumentDiagnosticReportPartialResult) -> Self
Converts to this type from the input type.
source§impl PartialEq for DocumentDiagnosticReportResult
impl PartialEq for DocumentDiagnosticReportResult
source§fn eq(&self, other: &DocumentDiagnosticReportResult) -> bool
fn eq(&self, other: &DocumentDiagnosticReportResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DocumentDiagnosticReportResult
Auto Trait Implementations§
impl Freeze for DocumentDiagnosticReportResult
impl RefUnwindSafe for DocumentDiagnosticReportResult
impl Send for DocumentDiagnosticReportResult
impl Sync for DocumentDiagnosticReportResult
impl Unpin for DocumentDiagnosticReportResult
impl UnwindSafe for DocumentDiagnosticReportResult
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