pub struct CompletionListItemDefaults {
pub commit_characters: Option<Vec<String>>,
pub edit_range: Option<OneOf<Range, CompletionListItemDefaultsEditRange>>,
pub insert_text_format: Option<InsertTextFormat>,
pub insert_text_mode: Option<InsertTextMode>,
pub data: Option<Value>,
}Fields§
§commit_characters: Option<Vec<String>>§edit_range: Option<OneOf<Range, CompletionListItemDefaultsEditRange>>§insert_text_format: Option<InsertTextFormat>§insert_text_mode: Option<InsertTextMode>§data: Option<Value>Trait Implementations§
Source§impl Clone for CompletionListItemDefaults
impl Clone for CompletionListItemDefaults
Source§fn clone(&self) -> CompletionListItemDefaults
fn clone(&self) -> CompletionListItemDefaults
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 CompletionListItemDefaults
impl Debug for CompletionListItemDefaults
Source§impl Default for CompletionListItemDefaults
impl Default for CompletionListItemDefaults
Source§fn default() -> CompletionListItemDefaults
fn default() -> CompletionListItemDefaults
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CompletionListItemDefaults
impl<'de> Deserialize<'de> for CompletionListItemDefaults
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 CompletionListItemDefaults
impl PartialEq for CompletionListItemDefaults
Source§fn eq(&self, other: &CompletionListItemDefaults) -> bool
fn eq(&self, other: &CompletionListItemDefaults) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CompletionListItemDefaults
Auto Trait Implementations§
impl Freeze for CompletionListItemDefaults
impl RefUnwindSafe for CompletionListItemDefaults
impl Send for CompletionListItemDefaults
impl Sync for CompletionListItemDefaults
impl Unpin for CompletionListItemDefaults
impl UnsafeUnpin for CompletionListItemDefaults
impl UnwindSafe for CompletionListItemDefaults
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