Enum lsp_types::request::CodeActionRequest
source · [−]pub enum CodeActionRequest {}
Expand description
The code action request is sent from the client to the server to compute commands for a given text document and range. The request is triggered when the user moves the cursor into a problem marker in the editor or presses the lightbulb associated with a marker.
Trait Implementations
sourceimpl Debug for CodeActionRequest
impl Debug for CodeActionRequest
sourceimpl Request for CodeActionRequest
impl Request for CodeActionRequest
type Params = CodeActionParams
type Result = Option<Vec<CodeActionOrCommand, Global>>
const METHOD: &'static str = "textDocument/codeAction"
Auto Trait Implementations
impl RefUnwindSafe for CodeActionRequest
impl Send for CodeActionRequest
impl Sync for CodeActionRequest
impl Unpin for CodeActionRequest
impl UnwindSafe for CodeActionRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more