Struct lsp_types::CodeActionOptions[][src]

pub struct CodeActionOptions {
    pub code_action_kinds: Option<Vec<CodeActionKind>>,
    pub work_done_progress_options: WorkDoneProgressOptions,
    pub resolve_provider: Option<bool>,
}

Fields

code_action_kinds: Option<Vec<CodeActionKind>>

CodeActionKinds that this server may return.

The list of kinds may be generic, such as CodeActionKind.Refactor, or the server may list out every specific kind they provide.

work_done_progress_options: WorkDoneProgressOptionsresolve_provider: Option<bool>

The server provides support to resolve additional information for a code action.

since 3.16.0

Trait Implementations

impl Clone for CodeActionOptions[src]

impl Debug for CodeActionOptions[src]

impl<'de> Deserialize<'de> for CodeActionOptions[src]

impl Eq for CodeActionOptions[src]

impl From<CodeActionOptions> for CodeActionProviderCapability[src]

impl PartialEq<CodeActionOptions> for CodeActionOptions[src]

impl Serialize for CodeActionOptions[src]

impl StructuralEq for CodeActionOptions[src]

impl StructuralPartialEq for CodeActionOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.