Struct lsp_types::DiagnosticOptions
source · pub struct DiagnosticOptions {
pub identifier: Option<String>,
pub inter_file_dependencies: bool,
pub workspace_diagnostics: bool,
pub work_done_progress_options: WorkDoneProgressOptions,
}
Expand description
Diagnostic options.
@since 3.17.0
Fields§
§identifier: Option<String>
An optional identifier under which the diagnostics are managed by the client.
inter_file_dependencies: bool
Whether the language has inter file dependencies, meaning that editing code in one file can result in a different diagnostic set in another file. Inter file dependencies are common for most programming languages and typically uncommon for linters.
workspace_diagnostics: bool
The server provides support for workspace diagnostics as well.
work_done_progress_options: WorkDoneProgressOptions
Trait Implementations§
source§impl Clone for DiagnosticOptions
impl Clone for DiagnosticOptions
source§fn clone(&self) -> DiagnosticOptions
fn clone(&self) -> DiagnosticOptions
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 Debug for DiagnosticOptions
impl Debug for DiagnosticOptions
source§impl Default for DiagnosticOptions
impl Default for DiagnosticOptions
source§fn default() -> DiagnosticOptions
fn default() -> DiagnosticOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DiagnosticOptions
impl<'de> Deserialize<'de> for DiagnosticOptions
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 PartialEq for DiagnosticOptions
impl PartialEq for DiagnosticOptions
source§impl Serialize for DiagnosticOptions
impl Serialize for DiagnosticOptions
impl Eq for DiagnosticOptions
impl StructuralPartialEq for DiagnosticOptions
Auto Trait Implementations§
impl Freeze for DiagnosticOptions
impl RefUnwindSafe for DiagnosticOptions
impl Send for DiagnosticOptions
impl Sync for DiagnosticOptions
impl Unpin for DiagnosticOptions
impl UnwindSafe for DiagnosticOptions
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
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.