pub struct PromptGetParams {
pub name: String,
pub arguments: Option<HashMap<String, String>>,
}
Expand description
Parameters for the prompts/get request
Fields§
§name: String
Name of the prompt to retrieve
arguments: Option<HashMap<String, String>>
Arguments to apply to the prompt
Trait Implementations§
Source§impl Clone for PromptGetParams
impl Clone for PromptGetParams
Source§fn clone(&self) -> PromptGetParams
fn clone(&self) -> PromptGetParams
Returns a copy 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 PromptGetParams
impl Debug for PromptGetParams
Source§impl<'de> Deserialize<'de> for PromptGetParams
impl<'de> Deserialize<'de> for PromptGetParams
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 PromptGetParams
impl RefUnwindSafe for PromptGetParams
impl Send for PromptGetParams
impl Sync for PromptGetParams
impl Unpin for PromptGetParams
impl UnwindSafe for PromptGetParams
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