pub struct GetPromptParams {
pub name: String,
pub arguments: Option<HashMap<String, String>>,
pub meta: Option<HashMap<String, Value>>,
}
Expand description
Parameters for prompt get request
Fieldsยง
ยงname: String
Name of the prompt
arguments: Option<HashMap<String, String>>
Arguments for prompt templating
meta: Option<HashMap<String, Value>>
Request metadata
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Clone for GetPromptParams
impl Clone for GetPromptParams
Sourceยงfn clone(&self) -> GetPromptParams
fn clone(&self) -> GetPromptParams
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 GetPromptParams
impl Debug for GetPromptParams
Sourceยงimpl<'de> Deserialize<'de> for GetPromptParams
impl<'de> Deserialize<'de> for GetPromptParams
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 GetPromptParams
impl PartialEq for GetPromptParams
Sourceยงimpl Serialize for GetPromptParams
impl Serialize for GetPromptParams
impl StructuralPartialEq for GetPromptParams
Auto Trait Implementationsยง
impl Freeze for GetPromptParams
impl RefUnwindSafe for GetPromptParams
impl Send for GetPromptParams
impl Sync for GetPromptParams
impl Unpin for GetPromptParams
impl UnwindSafe for GetPromptParams
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