pub struct SubagentHandoffRecord {
pub request_id: SubagentRequestId,
pub parent_run_id: RunId,
pub child_run_id: RunId,
pub handoff_policy: ContextHandoffPolicy,
pub selected_content_refs: Vec<ContentRef>,
pub projection_audit_ref: Option<String>,
pub policy_refs: Vec<PolicyRef>,
pub redaction_policy_id: String,
}Expand description
Carries the subagent handoff record record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
Fields§
§request_id: SubagentRequestIdStable request id used for typed lineage, lookup, or dedupe.
parent_run_id: RunIdStable parent run id used for typed lineage, lookup, or dedupe.
child_run_id: RunIdStable child run id used for typed lineage, lookup, or dedupe.
handoff_policy: ContextHandoffPolicyHandoff policy used by this record or request.
selected_content_refs: Vec<ContentRef>Typed selected content refs references. Resolving them is separate from constructing this record.
projection_audit_ref: Option<String>Typed projection audit ref reference. Resolving or executing it is a separate policy-gated step.
policy_refs: Vec<PolicyRef>Policy references that govern admission, projection, execution, or delivery.
redaction_policy_id: StringStable redaction policy id used for typed lineage, lookup, or dedupe.
Trait Implementations§
Source§impl Clone for SubagentHandoffRecord
impl Clone for SubagentHandoffRecord
Source§fn clone(&self) -> SubagentHandoffRecord
fn clone(&self) -> SubagentHandoffRecord
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SubagentHandoffRecord
impl Debug for SubagentHandoffRecord
Source§impl<'de> Deserialize<'de> for SubagentHandoffRecord
impl<'de> Deserialize<'de> for SubagentHandoffRecord
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>,
Source§impl PartialEq for SubagentHandoffRecord
impl PartialEq for SubagentHandoffRecord
Source§fn eq(&self, other: &SubagentHandoffRecord) -> bool
fn eq(&self, other: &SubagentHandoffRecord) -> bool
self and other values to be equal, and is used by ==.