pub struct CompletionInfo {
pub values: Vec<String>,
pub total: Option<u32>,
pub has_more: bool,
}
Expand description
Completion information Maintained for backward compatibility
Fields§
§values: Vec<String>
List of completion values, sorted by relevance
total: Option<u32>
Total number of available matches (optional)
has_more: bool
Flag indicating if there are more results available
Trait Implementations§
Source§impl Clone for CompletionInfo
impl Clone for CompletionInfo
Source§fn clone(&self) -> CompletionInfo
fn clone(&self) -> CompletionInfo
Returns a copy 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 CompletionInfo
impl Debug for CompletionInfo
Source§impl<'de> Deserialize<'de> for CompletionInfo
impl<'de> Deserialize<'de> for CompletionInfo
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 CompletionInfo
impl RefUnwindSafe for CompletionInfo
impl Send for CompletionInfo
impl Sync for CompletionInfo
impl Unpin for CompletionInfo
impl UnwindSafe for CompletionInfo
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