[][src]Struct lsp_types::CodeActionParams

pub struct CodeActionParams {
    pub text_document: TextDocumentIdentifier,
    pub range: Range,
    pub context: CodeActionContext,
    pub work_done_progress_params: WorkDoneProgressParams,
    pub partial_result_params: PartialResultParams,
}

Params for the CodeActionRequest

Fields

text_document: TextDocumentIdentifier

The document in which the command was invoked.

range: Range

The range for which the command was invoked.

context: CodeActionContext

Context carrying additional information.

work_done_progress_params: WorkDoneProgressParamspartial_result_params: PartialResultParams

Trait Implementations

impl Clone for CodeActionParams[src]

impl Debug for CodeActionParams[src]

impl<'de> Deserialize<'de> for CodeActionParams[src]

impl Eq for CodeActionParams[src]

impl PartialEq<CodeActionParams> for CodeActionParams[src]

impl Serialize for CodeActionParams[src]

impl StructuralEq for CodeActionParams[src]

impl StructuralPartialEq for CodeActionParams[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.