Struct lsp_types::PublishDiagnosticsClientCapabilities [−][src]
pub struct PublishDiagnosticsClientCapabilities {
pub related_information: Option<bool>,
pub tag_support: Option<TagSupport<DiagnosticTag>>,
pub version_support: Option<bool>,
pub code_description_support: Option<bool>,
pub data_support: Option<bool>,
}
Fields
Whether the clients accepts diagnostics with related information.
tag_support: Option<TagSupport<DiagnosticTag>>
Client supports the tag property to provide meta data about a diagnostic. Clients supporting tags have to handle unknown tags gracefully.
version_support: Option<bool>
Whether the client interprets the version property of the
textDocument/publishDiagnostics
notification’s parameter.
3.15.0
code_description_support: Option<bool>
Client supports a codeDescription property
3.16.0
data_support: Option<bool>
Whether code action supports the data
property which is
preserved between a textDocument/publishDiagnostics
and
textDocument/codeAction
request.
3.16.0
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for PublishDiagnosticsClientCapabilities
impl Sync for PublishDiagnosticsClientCapabilities
Blanket Implementations
Mutably borrows from an owned value. Read more