pub struct WorkspaceUnchangedDocumentDiagnosticReport {
pub kind: String,
pub result_id: String,
pub uri: Uri,
pub version: Option<i32>,
}Expand description
An unchanged document diagnostic report for a workspace diagnostic result.
@since 3.17.0
Fields§
§kind: StringA document diagnostic report indicating
no changes to the last result. A server can
only return unchanged if result ids are
provided.
result_id: StringA result id which will be sent on the next diagnostic request for the same document.
uri: UriThe URI for which diagnostic information is reported.
version: Option<i32>The version number for which the diagnostics are reported.
If the document is not marked as open null can be provided.
Trait Implementations§
Source§impl Clone for WorkspaceUnchangedDocumentDiagnosticReport
impl Clone for WorkspaceUnchangedDocumentDiagnosticReport
Source§fn clone(&self) -> WorkspaceUnchangedDocumentDiagnosticReport
fn clone(&self) -> WorkspaceUnchangedDocumentDiagnosticReport
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 WorkspaceUnchangedDocumentDiagnosticReport
impl<'de> Deserialize<'de> for WorkspaceUnchangedDocumentDiagnosticReport
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 WorkspaceUnchangedDocumentDiagnosticReport
Source§impl From<WorkspaceUnchangedDocumentDiagnosticReport> for WorkspaceDocumentDiagnosticReport
impl From<WorkspaceUnchangedDocumentDiagnosticReport> for WorkspaceDocumentDiagnosticReport
Source§fn from(value: WorkspaceUnchangedDocumentDiagnosticReport) -> Self
fn from(value: WorkspaceUnchangedDocumentDiagnosticReport) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for WorkspaceUnchangedDocumentDiagnosticReport
Auto Trait Implementations§
impl Freeze for WorkspaceUnchangedDocumentDiagnosticReport
impl RefUnwindSafe for WorkspaceUnchangedDocumentDiagnosticReport
impl Send for WorkspaceUnchangedDocumentDiagnosticReport
impl Sync for WorkspaceUnchangedDocumentDiagnosticReport
impl Unpin for WorkspaceUnchangedDocumentDiagnosticReport
impl UnsafeUnpin for WorkspaceUnchangedDocumentDiagnosticReport
impl UnwindSafe for WorkspaceUnchangedDocumentDiagnosticReport
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