pub enum RelatedDocumentDiagnosticReport {
Full(FullDocumentDiagnosticReport),
Unchanged(UnchangedDocumentDiagnosticReport),
}Variants§
Full(FullDocumentDiagnosticReport)
FullDocumentDiagnosticReport.
Unchanged(UnchangedDocumentDiagnosticReport)
UnchangedDocumentDiagnosticReport.
Trait Implementations§
Source§impl Clone for RelatedDocumentDiagnosticReport
impl Clone for RelatedDocumentDiagnosticReport
Source§fn clone(&self) -> RelatedDocumentDiagnosticReport
fn clone(&self) -> RelatedDocumentDiagnosticReport
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 RelatedDocumentDiagnosticReport
impl<'de> Deserialize<'de> for RelatedDocumentDiagnosticReport
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 RelatedDocumentDiagnosticReport
Source§impl From<FullDocumentDiagnosticReport> for RelatedDocumentDiagnosticReport
impl From<FullDocumentDiagnosticReport> for RelatedDocumentDiagnosticReport
Source§fn from(value: FullDocumentDiagnosticReport) -> Self
fn from(value: FullDocumentDiagnosticReport) -> Self
Converts to this type from the input type.
Source§impl From<UnchangedDocumentDiagnosticReport> for RelatedDocumentDiagnosticReport
impl From<UnchangedDocumentDiagnosticReport> for RelatedDocumentDiagnosticReport
Source§fn from(value: UnchangedDocumentDiagnosticReport) -> Self
fn from(value: UnchangedDocumentDiagnosticReport) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for RelatedDocumentDiagnosticReport
Auto Trait Implementations§
impl Freeze for RelatedDocumentDiagnosticReport
impl RefUnwindSafe for RelatedDocumentDiagnosticReport
impl Send for RelatedDocumentDiagnosticReport
impl Sync for RelatedDocumentDiagnosticReport
impl Unpin for RelatedDocumentDiagnosticReport
impl UnsafeUnpin for RelatedDocumentDiagnosticReport
impl UnwindSafe for RelatedDocumentDiagnosticReport
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