Struct lsp_types::CodeActionClientCapabilities
source · 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§
source§impl Clone for CodeActionClientCapabilities
impl Clone for CodeActionClientCapabilities
source§fn clone(&self) -> CodeActionClientCapabilities
fn clone(&self) -> CodeActionClientCapabilities
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CodeActionClientCapabilities
impl Debug for CodeActionClientCapabilities
source§impl Default for CodeActionClientCapabilities
impl Default for CodeActionClientCapabilities
source§fn default() -> CodeActionClientCapabilities
fn default() -> CodeActionClientCapabilities
source§impl<'de> Deserialize<'de> for CodeActionClientCapabilities
impl<'de> Deserialize<'de> for CodeActionClientCapabilities
source§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>,
source§impl PartialEq for CodeActionClientCapabilities
impl PartialEq for CodeActionClientCapabilities
source§fn eq(&self, other: &CodeActionClientCapabilities) -> bool
fn eq(&self, other: &CodeActionClientCapabilities) -> bool
self
and other
values to be equal, and is used by ==
.impl Eq for CodeActionClientCapabilities
impl StructuralPartialEq for CodeActionClientCapabilities
Auto Trait Implementations§
impl Freeze for CodeActionClientCapabilities
impl RefUnwindSafe for CodeActionClientCapabilities
impl Send for CodeActionClientCapabilities
impl Sync for CodeActionClientCapabilities
impl Unpin for CodeActionClientCapabilities
impl UnwindSafe for CodeActionClientCapabilities
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.