Struct lsp::types::Command[][src]

pub struct Command {
    pub title: String,
    pub command: String,
    pub arguments: Option<Vec<Value>>,
}

Represents a reference to a command. Provides a title which will be used to represent a command in the UI and, optionally, an array of arguments which will be passed to the command handler function when invoked.

Fields

Title of the command, like save.

The identifier of the actual command handler.

Arguments that the command handler should be invoked with.

Methods

impl Command
[src]

The Command namespace provides helper functions to work with Command literals.

Creates a new Command literal.

Trait Implementations

impl Debug for Command
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Command

impl Sync for Command