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
impl Eq for InlineCompletionResponse
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 Hash for InlineCompletionResponse
impl Hash for InlineCompletionResponse
Source§impl PartialEq for InlineCompletionResponse
impl PartialEq for InlineCompletionResponse
Source§impl Serialize for InlineCompletionResponse
impl Serialize 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