Struct ra_ap_rust_analyzer::lsp_ext::CodeAction [−][src]
pub struct CodeAction { pub title: String, pub group: Option<String>, pub kind: Option<CodeActionKind>, pub edit: Option<SnippetWorkspaceEdit>, pub is_preferred: Option<bool>, pub data: Option<CodeActionData>, }
Fields
title: String
group: Option<String>
kind: Option<CodeActionKind>
edit: Option<SnippetWorkspaceEdit>
is_preferred: Option<bool>
data: Option<CodeActionData>
Trait Implementations
Returns the “default value” for a type. Read more
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
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 CodeAction
impl Send for CodeAction
impl Sync for CodeAction
impl Unpin for CodeAction
impl UnwindSafe for CodeAction
Blanket Implementations
Mutably borrows from an owned value. Read more
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
Cast a value to type U
using CastTo
.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
impl<T> Any for T where
T: Any,