pub enum WorkspaceDiagnosticReportResult {
Report(WorkspaceDiagnosticReport),
Partial(WorkspaceDiagnosticReportPartialResult),
}
Variants§
Report(WorkspaceDiagnosticReport)
Partial(WorkspaceDiagnosticReportPartialResult)
Trait Implementations§
source§impl Clone for WorkspaceDiagnosticReportResult
impl Clone for WorkspaceDiagnosticReportResult
source§fn clone(&self) -> WorkspaceDiagnosticReportResult
fn clone(&self) -> WorkspaceDiagnosticReportResult
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 WorkspaceDiagnosticReportResult
impl<'de> Deserialize<'de> for WorkspaceDiagnosticReportResult
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<WorkspaceDiagnosticReport> for WorkspaceDiagnosticReportResult
impl From<WorkspaceDiagnosticReport> for WorkspaceDiagnosticReportResult
source§fn from(from: WorkspaceDiagnosticReport) -> Self
fn from(from: WorkspaceDiagnosticReport) -> Self
Converts to this type from the input type.
source§impl From<WorkspaceDiagnosticReportPartialResult> for WorkspaceDiagnosticReportResult
impl From<WorkspaceDiagnosticReportPartialResult> for WorkspaceDiagnosticReportResult
source§fn from(from: WorkspaceDiagnosticReportPartialResult) -> Self
fn from(from: WorkspaceDiagnosticReportPartialResult) -> Self
Converts to this type from the input type.
source§impl PartialEq for WorkspaceDiagnosticReportResult
impl PartialEq for WorkspaceDiagnosticReportResult
source§fn eq(&self, other: &WorkspaceDiagnosticReportResult) -> bool
fn eq(&self, other: &WorkspaceDiagnosticReportResult) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for WorkspaceDiagnosticReportResult
Auto Trait Implementations§
impl Freeze for WorkspaceDiagnosticReportResult
impl RefUnwindSafe for WorkspaceDiagnosticReportResult
impl Send for WorkspaceDiagnosticReportResult
impl Sync for WorkspaceDiagnosticReportResult
impl Unpin for WorkspaceDiagnosticReportResult
impl UnwindSafe for WorkspaceDiagnosticReportResult
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)