pub struct CompletionParams {
pub text_document: TextDocumentIdentifier,
pub position: Position,
pub context: Option<CompletionContext>,
}
Fields§
§text_document: TextDocumentIdentifier
The text document.
position: Position
The position inside the text document.
context: Option<CompletionContext>
Trait Implementations§
Source§impl Debug for CompletionParams
impl Debug for CompletionParams
Source§impl<'de> Deserialize<'de> for CompletionParams
impl<'de> Deserialize<'de> for CompletionParams
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 PartialEq for CompletionParams
impl PartialEq for CompletionParams
Source§impl Serialize for CompletionParams
impl Serialize for CompletionParams
impl StructuralPartialEq for CompletionParams
Auto Trait Implementations§
impl Freeze for CompletionParams
impl RefUnwindSafe for CompletionParams
impl Send for CompletionParams
impl Sync for CompletionParams
impl Unpin for CompletionParams
impl UnwindSafe for CompletionParams
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