Enum lsp_types::CodeActionOrCommand [−][src]
pub enum CodeActionOrCommand {
Command(Command),
CodeAction(CodeAction),
}
Variants
Command(Command)
Tuple Fields of Command
0: Command
CodeAction(CodeAction)
Tuple Fields of CodeAction
0: CodeAction
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
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 RefUnwindSafe for CodeActionOrCommand
impl Send for CodeActionOrCommand
impl Sync for CodeActionOrCommand
impl Unpin for CodeActionOrCommand
impl UnwindSafe for CodeActionOrCommand
Blanket Implementations
Mutably borrows from an owned value. Read more