Enum lsp_types::CompletionResponse
source · pub enum CompletionResponse {
Array(Vec<CompletionItem>),
List(CompletionList),
}
Variants§
Array(Vec<CompletionItem>)
List(CompletionList)
Trait Implementations§
source§impl Clone for CompletionResponse
impl Clone for CompletionResponse
source§fn clone(&self) -> CompletionResponse
fn clone(&self) -> CompletionResponse
Returns a copy 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 Debug for CompletionResponse
impl Debug for CompletionResponse
source§impl<'de> Deserialize<'de> for CompletionResponse
impl<'de> Deserialize<'de> for CompletionResponse
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<CompletionList> for CompletionResponse
impl From<CompletionList> for CompletionResponse
source§fn from(list: CompletionList) -> Self
fn from(list: CompletionList) -> Self
Converts to this type from the input type.
source§impl From<Vec<CompletionItem>> for CompletionResponse
impl From<Vec<CompletionItem>> for CompletionResponse
source§fn from(items: Vec<CompletionItem>) -> Self
fn from(items: Vec<CompletionItem>) -> Self
Converts to this type from the input type.
source§impl PartialEq for CompletionResponse
impl PartialEq for CompletionResponse
source§fn eq(&self, other: &CompletionResponse) -> bool
fn eq(&self, other: &CompletionResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CompletionResponse
impl Serialize for CompletionResponse
impl StructuralPartialEq for CompletionResponse
Auto Trait Implementations§
impl Freeze for CompletionResponse
impl RefUnwindSafe for CompletionResponse
impl Send for CompletionResponse
impl Sync for CompletionResponse
impl Unpin for CompletionResponse
impl UnwindSafe for CompletionResponse
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