pub struct BackgroundSubagentContinuationCause {
pub attempt_id: SubagentAttemptId,
pub agent_id: String,
pub parent_session_id: SessionId,
pub parent_run_id: RunId,
pub child_run_id: Option<RunId>,
pub result_digest: Option<String>,
pub result_size_bytes: u64,
pub trace_context: TraceContext,
pub input_digest: String,
}Expand description
Typed immutable cause for one result-triggered continuation.
Fields§
§attempt_id: SubagentAttemptIdTerminal attempt whose result caused the continuation.
agent_id: StringStable child conversation identity.
parent_session_id: SessionIdOwning parent session.
parent_run_id: RunIdParent run that accepted the delegation.
child_run_id: Option<RunId>Child runtime run, when one was created.
result_digest: Option<String>Digest of the complete logical terminal result, when available.
result_size_bytes: u64Complete logical terminal-result size.
trace_context: TraceContextParent trace context inherited by the continuation.
input_digest: StringDigest of the exact canonical durable continuation input.
Implementations§
Trait Implementations§
Source§impl Clone for BackgroundSubagentContinuationCause
impl Clone for BackgroundSubagentContinuationCause
Source§fn clone(&self) -> BackgroundSubagentContinuationCause
fn clone(&self) -> BackgroundSubagentContinuationCause
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<'de> Deserialize<'de> for BackgroundSubagentContinuationCause
impl<'de> Deserialize<'de> for BackgroundSubagentContinuationCause
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 BackgroundSubagentContinuationCause
impl StructuralPartialEq for BackgroundSubagentContinuationCause
Auto Trait Implementations§
impl Freeze for BackgroundSubagentContinuationCause
impl RefUnwindSafe for BackgroundSubagentContinuationCause
impl Send for BackgroundSubagentContinuationCause
impl Sync for BackgroundSubagentContinuationCause
impl Unpin for BackgroundSubagentContinuationCause
impl UnsafeUnpin for BackgroundSubagentContinuationCause
impl UnwindSafe for BackgroundSubagentContinuationCause
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