Struct languageserver_types::CodeAction [−][src]
pub struct CodeAction { pub title: String, pub kind: Option<String>, pub diagnostics: Option<Vec<Diagnostic>>, pub edit: Option<WorkspaceEdit>, pub command: Option<Command>, }
Fields
title: String
A short, human-readable, title for this code action.
kind: Option<String>
The kind of the code action. Used to filter code actions.
diagnostics: Option<Vec<Diagnostic>>
The diagnostics that this code action resolves.
edit: Option<WorkspaceEdit>
The workspace edit this code action performs.
command: Option<Command>
A command this code action executes. If a code action provides an edit and a command, first the edit is executed and then the command.
Trait Implementations
impl Debug for CodeAction
[src]
impl Debug for CodeAction
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for CodeAction
[src]
impl PartialEq for CodeAction
fn eq(&self, other: &CodeAction) -> bool
[src]
fn eq(&self, other: &CodeAction) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CodeAction) -> bool
[src]
fn ne(&self, other: &CodeAction) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for CodeAction
impl Send for CodeAction
impl Sync for CodeAction
impl Sync for CodeAction