pub struct PromptGetParams {
pub name: String,
pub arguments: Option<Value>,
}Available on crate feature
mcp only.Expand description
prompts/get params.
Fields§
§name: StringName of the prompt to fetch.
arguments: Option<Value>Arguments to interpolate into the prompt template.
Trait Implementations§
Source§impl Clone for PromptGetParams
impl Clone for PromptGetParams
Source§fn clone(&self) -> PromptGetParams
fn clone(&self) -> PromptGetParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UnsafeUnpin 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