pub enum DocumentDiagnosticReportResult {
Report(DocumentDiagnosticReport),
Partial(DocumentDiagnosticReportPartialResult),
}
Variants§
Report(DocumentDiagnosticReport)
Partial(DocumentDiagnosticReportPartialResult)
Trait Implementations§
§impl Clone for DocumentDiagnosticReportResult
impl Clone for DocumentDiagnosticReportResult
§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 more§impl Debug for DocumentDiagnosticReportResult
impl Debug for DocumentDiagnosticReportResult
§impl<'de> Deserialize<'de> for DocumentDiagnosticReportResult
impl<'de> Deserialize<'de> for DocumentDiagnosticReportResult
§fn deserialize<__D>(
__deserializer: __D
) -> Result<DocumentDiagnosticReportResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<DocumentDiagnosticReportResult, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl From<DocumentDiagnosticReport> for DocumentDiagnosticReportResult
impl From<DocumentDiagnosticReport> for DocumentDiagnosticReportResult
§fn from(from: DocumentDiagnosticReport) -> DocumentDiagnosticReportResult
fn from(from: DocumentDiagnosticReport) -> DocumentDiagnosticReportResult
Converts to this type from the input type.
§impl From<DocumentDiagnosticReportPartialResult> for DocumentDiagnosticReportResult
impl From<DocumentDiagnosticReportPartialResult> for DocumentDiagnosticReportResult
§fn from(
from: DocumentDiagnosticReportPartialResult
) -> DocumentDiagnosticReportResult
fn from( from: DocumentDiagnosticReportPartialResult ) -> DocumentDiagnosticReportResult
Converts to this type from the input type.
§impl PartialEq<DocumentDiagnosticReportResult> for DocumentDiagnosticReportResult
impl PartialEq<DocumentDiagnosticReportResult> for DocumentDiagnosticReportResult
§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 Serialize for DocumentDiagnosticReportResult
impl Serialize for DocumentDiagnosticReportResult
§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 DocumentDiagnosticReportResult
Auto Trait Implementations§
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