pub struct CompletionContextDTO {
pub TriggerKind: CompletionTriggerKindDTO,
pub TriggerCharacter: Option<String>,
}Expand description
A serializable struct representing the context in which a completion was
requested, analogous to vscode.CompletionContext.
Fields§
§TriggerKind: CompletionTriggerKindDTOThe kind of trigger that initiated the completion request.
TriggerCharacter: Option<String>The character that triggered the completion request, if any.
Trait Implementations§
Source§impl Clone for CompletionContextDTO
impl Clone for CompletionContextDTO
Source§fn clone(&self) -> CompletionContextDTO
fn clone(&self) -> CompletionContextDTO
Returns a duplicate 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 CompletionContextDTO
impl Debug for CompletionContextDTO
Source§impl<'de> Deserialize<'de> for CompletionContextDTO
impl<'de> Deserialize<'de> for CompletionContextDTO
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 CompletionContextDTO
impl RefUnwindSafe for CompletionContextDTO
impl Send for CompletionContextDTO
impl Sync for CompletionContextDTO
impl Unpin for CompletionContextDTO
impl UnwindSafe for CompletionContextDTO
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