pub struct SessionPromptResult {
pub turn_id: String,
pub response: Option<String>,
pub tool_calls: Vec<ToolCallRecord>,
pub status: TurnStatus,
}Expand description
Result of session/prompt method
Fields§
§turn_id: StringTurn ID for this prompt/response cycle
response: Option<String>Final response content (may be streamed via notifications first)
tool_calls: Vec<ToolCallRecord>Tool calls made during this turn
status: TurnStatusTurn completion status
Trait Implementations§
Source§impl Clone for SessionPromptResult
impl Clone for SessionPromptResult
Source§fn clone(&self) -> SessionPromptResult
fn clone(&self) -> SessionPromptResult
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 SessionPromptResult
impl Debug for SessionPromptResult
Source§impl<'de> Deserialize<'de> for SessionPromptResult
impl<'de> Deserialize<'de> for SessionPromptResult
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 SessionPromptResult
impl RefUnwindSafe for SessionPromptResult
impl Send for SessionPromptResult
impl Sync for SessionPromptResult
impl Unpin for SessionPromptResult
impl UnwindSafe for SessionPromptResult
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