pub enum InlineCompletionResponse {
InlineCompletionList(InlineCompletionList),
InlineCompletionItemList(Vec<InlineCompletionItem>),
}Variants§
InlineCompletionList(InlineCompletionList)
InlineCompletionItemList(Vec<InlineCompletionItem>)
Trait Implementations§
Source§impl Clone for InlineCompletionResponse
impl Clone for InlineCompletionResponse
Source§fn clone(&self) -> InlineCompletionResponse
fn clone(&self) -> InlineCompletionResponse
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 InlineCompletionResponse
impl Debug for InlineCompletionResponse
Source§impl<'de> Deserialize<'de> for InlineCompletionResponse
impl<'de> Deserialize<'de> for InlineCompletionResponse
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<InlineCompletionList> for InlineCompletionResponse
impl From<InlineCompletionList> for InlineCompletionResponse
Source§fn from(v: InlineCompletionList) -> Self
fn from(v: InlineCompletionList) -> Self
Converts to this type from the input type.
Source§impl From<Vec<InlineCompletionItem>> for InlineCompletionResponse
impl From<Vec<InlineCompletionItem>> for InlineCompletionResponse
Source§fn from(v: Vec<InlineCompletionItem>) -> Self
fn from(v: Vec<InlineCompletionItem>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InlineCompletionResponse
impl PartialEq for InlineCompletionResponse
Source§fn eq(&self, other: &InlineCompletionResponse) -> bool
fn eq(&self, other: &InlineCompletionResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InlineCompletionResponse
impl Serialize for InlineCompletionResponse
impl Eq for InlineCompletionResponse
impl StructuralPartialEq for InlineCompletionResponse
Auto Trait Implementations§
impl Freeze for InlineCompletionResponse
impl RefUnwindSafe for InlineCompletionResponse
impl Send for InlineCompletionResponse
impl Sync for InlineCompletionResponse
impl Unpin for InlineCompletionResponse
impl UnsafeUnpin for InlineCompletionResponse
impl UnwindSafe for InlineCompletionResponse
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