pub struct CompletionCapability {
pub dynamic_registration: Option<bool>,
pub completion_item: Option<CompletionItemCapability>,
pub completion_item_kind: Option<CompletionItemKindCapability>,
pub context_support: Option<bool>,
}
Fields§
§dynamic_registration: Option<bool>
Whether completion supports dynamic registration.
completion_item: Option<CompletionItemCapability>
The client supports the following CompletionItem
specific
capabilities.
completion_item_kind: Option<CompletionItemKindCapability>
§context_support: Option<bool>
The client supports to send additional context information for a
textDocument/completion
requestion.
Trait Implementations§
Source§impl Debug for CompletionCapability
impl Debug for CompletionCapability
Source§impl Default for CompletionCapability
impl Default for CompletionCapability
Source§fn default() -> CompletionCapability
fn default() -> CompletionCapability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CompletionCapability
impl<'de> Deserialize<'de> for CompletionCapability
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 CompletionCapability
impl PartialEq for CompletionCapability
Source§impl Serialize for CompletionCapability
impl Serialize for CompletionCapability
impl Eq for CompletionCapability
impl StructuralPartialEq for CompletionCapability
Auto Trait Implementations§
impl Freeze for CompletionCapability
impl RefUnwindSafe for CompletionCapability
impl Send for CompletionCapability
impl Sync for CompletionCapability
impl Unpin for CompletionCapability
impl UnwindSafe for CompletionCapability
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