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
Returns the “default value” for a type. Read more
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>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for CodeActionClientCapabilities
impl Sync for CodeActionClientCapabilities
impl Unpin for CodeActionClientCapabilities
impl UnwindSafe for CodeActionClientCapabilities
Blanket Implementations
Mutably borrows from an owned value. Read more