pub struct CompletionData {
pub values: Vec<String>,
pub total: Option<u32>,
pub has_more: Option<bool>,
}
Expand description
Completion data
Fieldsยง
ยงvalues: Vec<String>
Completion values
total: Option<u32>
Total number of completions available
has_more: Option<bool>
Whether there are more completions available
Trait Implementationsยง
Sourceยงimpl Clone for CompletionData
impl Clone for CompletionData
Sourceยงfn clone(&self) -> CompletionData
fn clone(&self) -> CompletionData
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 CompletionData
impl Debug for CompletionData
Sourceยงimpl<'de> Deserialize<'de> for CompletionData
impl<'de> Deserialize<'de> for CompletionData
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 CompletionData
impl PartialEq for CompletionData
Sourceยงimpl Serialize for CompletionData
impl Serialize for CompletionData
impl StructuralPartialEq for CompletionData
Auto Trait Implementationsยง
impl Freeze for CompletionData
impl RefUnwindSafe for CompletionData
impl Send for CompletionData
impl Sync for CompletionData
impl Unpin for CompletionData
impl UnwindSafe for CompletionData
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