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