pub enum DocumentDiagnosticReportProgress {
DocumentDiagnosticReport(DocumentDiagnosticReport),
PartialResult(DocumentDiagnosticReportPartialResult),
}Expand description
The document diagnostic report used when reporting partial result.
When using partial results, the first literal sent needs to be a DocumentDiagnosticReport providing the diagnostics on the document followed by n DocumentDiagnosticReportPartialResult literals providing the diagnostics for related documents.
DocumentDiagnosticReport
DocumentDiagnosticReportPartialResult
DocumentDiagnosticReportPartialResult
...@since 3.18.1
Variants§
DocumentDiagnosticReport(DocumentDiagnosticReport)
PartialResult(DocumentDiagnosticReportPartialResult)
DocumentDiagnosticReportPartialResult.
Trait Implementations§
Source§impl Clone for DocumentDiagnosticReportProgress
impl Clone for DocumentDiagnosticReportProgress
Source§fn clone(&self) -> DocumentDiagnosticReportProgress
fn clone(&self) -> DocumentDiagnosticReportProgress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DocumentDiagnosticReportProgress
impl<'de> Deserialize<'de> for DocumentDiagnosticReportProgress
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
impl Eq for DocumentDiagnosticReportProgress
Source§impl From<DocumentDiagnosticReport> for DocumentDiagnosticReportProgress
impl From<DocumentDiagnosticReport> for DocumentDiagnosticReportProgress
Source§fn from(value: DocumentDiagnosticReport) -> Self
fn from(value: DocumentDiagnosticReport) -> Self
Converts to this type from the input type.
Source§impl From<DocumentDiagnosticReportPartialResult> for DocumentDiagnosticReportProgress
impl From<DocumentDiagnosticReportPartialResult> for DocumentDiagnosticReportProgress
Source§fn from(value: DocumentDiagnosticReportPartialResult) -> Self
fn from(value: DocumentDiagnosticReportPartialResult) -> Self
Converts to this type from the input type.
Source§impl From<DocumentDiagnosticReportProgress> for DocumentDiagnosticResponse
impl From<DocumentDiagnosticReportProgress> for DocumentDiagnosticResponse
Source§fn from(value: DocumentDiagnosticReportProgress) -> Self
fn from(value: DocumentDiagnosticReportProgress) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for DocumentDiagnosticReportProgress
Auto Trait Implementations§
impl Freeze for DocumentDiagnosticReportProgress
impl RefUnwindSafe for DocumentDiagnosticReportProgress
impl Send for DocumentDiagnosticReportProgress
impl Sync for DocumentDiagnosticReportProgress
impl Unpin for DocumentDiagnosticReportProgress
impl UnsafeUnpin for DocumentDiagnosticReportProgress
impl UnwindSafe for DocumentDiagnosticReportProgress
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