Struct lsp_types::RenameClientCapabilities[][src]

pub struct RenameClientCapabilities {
    pub dynamic_registration: Option<bool>,
    pub prepare_support: Option<bool>,
    pub prepare_support_default_behavior: Option<PrepareSupportDefaultBehavior>,
    pub honors_change_annotations: Option<bool>,
}

Fields

dynamic_registration: Option<bool>

Whether rename supports dynamic registration.

prepare_support: Option<bool>

Client supports testing for validity of rename operations before execution.

since 3.12.0

prepare_support_default_behavior: Option<PrepareSupportDefaultBehavior>

Client supports the default behavior result.

The value indicates the default behavior used by the client.

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 rename request's workspace edit by for example presenting the workspace edit in the user interface and asking for confirmation.

@since 3.16.0

Trait Implementations

impl Clone for RenameClientCapabilities[src]

impl Debug for RenameClientCapabilities[src]

impl Default for RenameClientCapabilities[src]

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

impl Eq for RenameClientCapabilities[src]

impl PartialEq<RenameClientCapabilities> for RenameClientCapabilities[src]

impl Serialize for RenameClientCapabilities[src]

impl StructuralEq for RenameClientCapabilities[src]

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