Struct languageserver_types::Command [] [src]

pub struct Command {
    pub title: String,
    pub command: String,
    pub arguments: 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.

Trait Implementations

impl Debug for Command
[src]

Formats the value using the given formatter.

impl PartialEq for Command
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for Command
[src]

Returns the "default value" for a type. Read more