pub struct CodeActionContext {
pub diagnostics: Vec<Diagnostic>,
}Expand description
Contains additional diagnostic information about the context in which a code action is run.
Fields§
§diagnostics: Vec<Diagnostic>An array of diagnostics as defined by the server.
Trait Implementations§
Source§impl Debug for CodeActionContext
impl Debug for CodeActionContext
Source§impl<'de> Deserialize<'de> for CodeActionContext
impl<'de> Deserialize<'de> for CodeActionContext
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
Auto Trait Implementations§
impl Freeze for CodeActionContext
impl RefUnwindSafe for CodeActionContext
impl Send for CodeActionContext
impl Sync for CodeActionContext
impl Unpin for CodeActionContext
impl UnwindSafe for CodeActionContext
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