pub struct GetPromptResult {
pub description: Option<String>,
pub messages: Vec<PromptMessage>,
pub meta: Option<HashMap<String, Value>>,
}
Expand description
Result of prompt execution (2025-03-26 with metadata)
Fieldsยง
ยงdescription: Option<String>
Description of the prompt result
messages: Vec<PromptMessage>
Messages generated by the prompt
meta: Option<HashMap<String, Value>>
Result metadata (2025-03-26 NEW)
Trait Implementationsยง
Sourceยงimpl Clone for GetPromptResult
impl Clone for GetPromptResult
Sourceยงfn clone(&self) -> GetPromptResult
fn clone(&self) -> GetPromptResult
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 GetPromptResult
impl Debug for GetPromptResult
Sourceยงimpl<'de> Deserialize<'de> for GetPromptResult
impl<'de> Deserialize<'de> for GetPromptResult
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 GetPromptResult
impl PartialEq for GetPromptResult
Sourceยงimpl Serialize for GetPromptResult
impl Serialize for GetPromptResult
impl StructuralPartialEq for GetPromptResult
Auto Trait Implementationsยง
impl Freeze for GetPromptResult
impl RefUnwindSafe for GetPromptResult
impl Send for GetPromptResult
impl Sync for GetPromptResult
impl Unpin for GetPromptResult
impl UnwindSafe for GetPromptResult
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