pub struct CodeActionRegistrationOptions {
pub code_action_kinds: Option<Vec<CodeActionKind>>,
pub document_selector: Value,
pub resolve_provider: Option<bool>,
pub work_done_progress: Option<bool>,
}Fields§
§code_action_kinds: Option<Vec<CodeActionKind>>CodeActionKinds that this server may return.
The list of kinds may be generic, such as CodeActionKind.Refactor, or the server may list
out every specific kind they provide.
document_selector: ValueA document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.
resolve_provider: Option<bool>The server provides support to resolve additional information for a code action.
work_done_progress: Option<bool>Trait Implementations§
Source§impl Clone for CodeActionRegistrationOptions
impl Clone for CodeActionRegistrationOptions
Source§fn clone(&self) -> CodeActionRegistrationOptions
fn clone(&self) -> CodeActionRegistrationOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for CodeActionRegistrationOptions
impl Default for CodeActionRegistrationOptions
Source§fn default() -> CodeActionRegistrationOptions
fn default() -> CodeActionRegistrationOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeActionRegistrationOptions
impl<'de> Deserialize<'de> for CodeActionRegistrationOptions
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CodeActionRegistrationOptions
impl PartialEq for CodeActionRegistrationOptions
Source§fn eq(&self, other: &CodeActionRegistrationOptions) -> bool
fn eq(&self, other: &CodeActionRegistrationOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CodeActionRegistrationOptions
Auto Trait Implementations§
impl Freeze for CodeActionRegistrationOptions
impl RefUnwindSafe for CodeActionRegistrationOptions
impl Send for CodeActionRegistrationOptions
impl Sync for CodeActionRegistrationOptions
impl Unpin for CodeActionRegistrationOptions
impl UnwindSafe for CodeActionRegistrationOptions
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
Mutably borrows from an owned value. Read more