pub struct CompleteResult {
pub meta: Option<Map<String, Value>>,
pub completion: CompleteResultCompletion,
pub extra: Map<String, Value>,
}
Expand description
The server’s response to a completion/complete request
Fields§
§meta: Option<Map<String, Value>>
This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.
completion: CompleteResultCompletion
§extra: Map<String, Value>
Additional parameters that are not part of the schema.
Trait Implementations§
Source§impl Clone for CompleteResult
impl Clone for CompleteResult
Source§fn clone(&self) -> CompleteResult
fn clone(&self) -> CompleteResult
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 CompleteResult
impl Debug for CompleteResult
Source§impl<'de> Deserialize<'de> for CompleteResult
impl<'de> Deserialize<'de> for CompleteResult
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 CompleteResult
impl PartialEq for CompleteResult
Source§impl Serialize for CompleteResult
impl Serialize for CompleteResult
impl StructuralPartialEq for CompleteResult
Auto Trait Implementations§
impl Freeze for CompleteResult
impl RefUnwindSafe for CompleteResult
impl Send for CompleteResult
impl Sync for CompleteResult
impl Unpin for CompleteResult
impl UnwindSafe for CompleteResult
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