#[non_exhaustive]pub struct RecapCompletedParams {
pub session_id: String,
pub command_id: String,
pub outcome: RecapOutcome,
pub text: Option<String>,
pub title: Option<String>,
pub reason: Option<RecapFailureReason>,
}Expand description
recap/completed params: the settlement, delivered to the requesting
connection outside the view stream — no viewCursor, no sourceRange.
text is required on completed; reason is required on failed; neither
rides cancelled/timedOut. The struct marks the conditional members
optional; the SS prose pins the per-outcome rule, the turn/completed
usage/error convention.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.session_id: StringThe recapped session.
command_id: StringThe request’s id — the correlation key.
outcome: RecapOutcomeHow the request settled.
text: Option<String>The recap text verbatim (on completed).
title: Option<String>The model-produced short title (on completed, when produced).
reason: Option<RecapFailureReason>Why the side-call failed (on failed).
Trait Implementations§
Source§impl Clone for RecapCompletedParams
impl Clone for RecapCompletedParams
Source§impl Debug for RecapCompletedParams
impl Debug for RecapCompletedParams
Source§impl<'de> Deserialize<'de> for RecapCompletedParams
impl<'de> Deserialize<'de> for RecapCompletedParams
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
impl Eq for RecapCompletedParams
Source§impl PartialEq for RecapCompletedParams
impl PartialEq for RecapCompletedParams
Source§impl Serialize for RecapCompletedParams
impl Serialize for RecapCompletedParams
impl StructuralPartialEq for RecapCompletedParams
Auto Trait Implementations§
impl Freeze for RecapCompletedParams
impl RefUnwindSafe for RecapCompletedParams
impl Send for RecapCompletedParams
impl Sync for RecapCompletedParams
impl Unpin for RecapCompletedParams
impl UnsafeUnpin for RecapCompletedParams
impl UnwindSafe for RecapCompletedParams
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