pub struct CompleteContent {
pub status: Status,
pub matches: Vec<String>,
pub cursor_start: u64,
pub cursor_end: u64,
pub metadata: HashMap<String, Value>,
}
Expand description
Content when asking for code completion.
Fields§
§status: Status
Status of the request.
matches: Vec<String>
List of all matches.
cursor_start: u64
The start index text that should be replaced by the match.
cursor_end: u64
The end index text that should be replaced by the match.
metadata: HashMap<String, Value>
Extra information.
Trait Implementations§
Source§impl Debug for CompleteContent
impl Debug for CompleteContent
Source§impl<'de> Deserialize<'de> for CompleteContent
impl<'de> Deserialize<'de> for CompleteContent
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 CompleteContent
impl RefUnwindSafe for CompleteContent
impl Send for CompleteContent
impl Sync for CompleteContent
impl Unpin for CompleteContent
impl UnwindSafe for CompleteContent
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