pub enum CodeActionPartialResponse {
Command(Command),
CodeAction(CodeAction),
}Variants§
Command(Command)
CodeAction(CodeAction)
Trait Implementations§
Source§impl Clone for CodeActionPartialResponse
impl Clone for CodeActionPartialResponse
Source§fn clone(&self) -> CodeActionPartialResponse
fn clone(&self) -> CodeActionPartialResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CodeActionPartialResponse
impl Debug for CodeActionPartialResponse
Source§impl<'de> Deserialize<'de> for CodeActionPartialResponse
impl<'de> Deserialize<'de> for CodeActionPartialResponse
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 From<CodeAction> for CodeActionPartialResponse
impl From<CodeAction> for CodeActionPartialResponse
Source§fn from(v: CodeAction) -> Self
fn from(v: CodeAction) -> Self
Converts to this type from the input type.
Source§impl From<Command> for CodeActionPartialResponse
impl From<Command> for CodeActionPartialResponse
Source§impl PartialEq for CodeActionPartialResponse
impl PartialEq for CodeActionPartialResponse
Source§fn eq(&self, other: &CodeActionPartialResponse) -> bool
fn eq(&self, other: &CodeActionPartialResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CodeActionPartialResponse
impl StructuralPartialEq for CodeActionPartialResponse
Auto Trait Implementations§
impl Freeze for CodeActionPartialResponse
impl RefUnwindSafe for CodeActionPartialResponse
impl Send for CodeActionPartialResponse
impl Sync for CodeActionPartialResponse
impl Unpin for CodeActionPartialResponse
impl UnsafeUnpin for CodeActionPartialResponse
impl UnwindSafe for CodeActionPartialResponse
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