Struct languageserver_types::CodeActionContext[][src]

pub struct CodeActionContext {
    pub diagnostics: Vec<Diagnostic>,
    pub only: Option<Vec<String>>,
}

Contains additional diagnostic information about the context in which a code action is run.

Fields

An array of diagnostics.

Requested kind of actions to return.

Actions not of this kind are filtered out by the client before being shown. So servers can omit computing them.

Trait Implementations

impl Debug for CodeActionContext
[src]

Formats the value using the given formatter. Read more

impl Eq for CodeActionContext
[src]

impl PartialEq for CodeActionContext
[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