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: String
Title of the command, like save
.
command: String
The identifier of the actual command handler.
arguments: Vec<Value>
Arguments that the command handler should be invoked with.
Trait Implementations
impl Debug for Command
[src]
impl PartialEq for Command
[src]
fn eq(&self, __arg_0: &Command) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Command) -> bool
This method tests for !=
.