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 StructuralEq for CodeActionClientCapabilities
impl StructuralPartialEq for CodeActionClientCapabilities
Auto Trait Implementations§
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.