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

A short, human-readable, title for this code action.

The kind of the code action. Used to filter code actions.

The diagnostics that this code action resolves.

The workspace edit this code action performs.

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]

Formats the value using the given formatter. Read more

impl PartialEq for CodeAction
[src]

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 CodeAction

impl Sync for CodeAction