pub enum CompletionReference {
Prompt {
name: String,
},
Resource {
uri: String,
},
Tool {
name: String,
},
}
Expand description
Reference for completion
Variantsยง
Trait Implementationsยง
Sourceยงimpl Clone for CompletionReference
impl Clone for CompletionReference
Sourceยงfn clone(&self) -> CompletionReference
fn clone(&self) -> CompletionReference
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 CompletionReference
impl Debug for CompletionReference
Sourceยงimpl<'de> Deserialize<'de> for CompletionReference
impl<'de> Deserialize<'de> for CompletionReference
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 CompletionReference
impl PartialEq for CompletionReference
Sourceยงimpl Serialize for CompletionReference
impl Serialize for CompletionReference
impl StructuralPartialEq for CompletionReference
Auto Trait Implementationsยง
impl Freeze for CompletionReference
impl RefUnwindSafe for CompletionReference
impl Send for CompletionReference
impl Sync for CompletionReference
impl Unpin for CompletionReference
impl UnwindSafe for CompletionReference
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