Struct lsp_types::CodeActionClientCapabilities[][src]

pub struct CodeActionClientCapabilities {
    pub dynamic_registration: Option<bool>,
    pub code_action_literal_support: Option<CodeActionLiteralSupport>,
    pub is_preferred_support: Option<bool>,
    pub disabled_support: Option<bool>,
    pub data_support: Option<bool>,
    pub resolve_support: Option<CodeActionCapabilityResolveSupport>,
    pub honors_change_annotations: Option<bool>,
}

Fields

dynamic_registration: Option<bool>

This capability supports dynamic registration.

code_action_literal_support: Option<CodeActionLiteralSupport>

The client support code action literals as a valid response of the textDocument/codeAction request.

is_preferred_support: Option<bool>

Whether code action supports the isPreferred property.

since 3.15.0

disabled_support: Option<bool>

Whether code action supports the disabled property.

since 3.16.0

data_support: Option<bool>

Whether code action supports the data property which is preserved between a textDocument/codeAction and a codeAction/resolve request.

since 3.16.0

resolve_support: Option<CodeActionCapabilityResolveSupport>

Whether the client supports resolving additional code action properties via a separate codeAction/resolve request.

since 3.16.0

honors_change_annotations: Option<bool>

Whether the client honors the change annotations in text edits and resource operations returned via the CodeAction#edit property by for example presenting the workspace edit in the user interface and asking for confirmation.

@since 3.16.0

Trait Implementations

impl Clone for CodeActionClientCapabilities[src]

impl Debug for CodeActionClientCapabilities[src]

impl Default for CodeActionClientCapabilities[src]

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

impl Eq for CodeActionClientCapabilities[src]

impl PartialEq<CodeActionClientCapabilities> for CodeActionClientCapabilities[src]

impl Serialize for CodeActionClientCapabilities[src]

impl StructuralEq for CodeActionClientCapabilities[src]

impl StructuralPartialEq for CodeActionClientCapabilities[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.