pub struct TurnLifecycleRecord {
pub turn_id: TurnId,
pub run_ids: Vec<RunId>,
pub status: TurnLifecycleStatus,
pub input_message_id: Option<MessageId>,
pub output_message_id: Option<MessageId>,
pub context_projection_id: Option<ContextProjectionId>,
pub redacted_summary: String,
}Expand description
Carries the turn lifecycle 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§
§turn_id: TurnIdTurn identifier for one loop turn within a run.
run_ids: Vec<RunId>Run identifiers causally associated with this turn.
status: TurnLifecycleStatusLifecycle status used by this record or request.
input_message_id: Option<MessageId>Message identifier for transcript, projection, or provider-response lineage.
output_message_id: Option<MessageId>Message identifier for transcript, projection, or provider-response lineage.
context_projection_id: Option<ContextProjectionId>Stable projection id used for typed lineage, lookup, or dedupe.
redacted_summary: StringRedacted human-readable summary safe for events, telemetry, and logs.
Trait Implementations§
Source§impl Clone for TurnLifecycleRecord
impl Clone for TurnLifecycleRecord
Source§fn clone(&self) -> TurnLifecycleRecord
fn clone(&self) -> TurnLifecycleRecord
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 Debug for TurnLifecycleRecord
impl Debug for TurnLifecycleRecord
Source§impl<'de> Deserialize<'de> for TurnLifecycleRecord
impl<'de> Deserialize<'de> for TurnLifecycleRecord
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 TurnLifecycleRecord
Source§impl PartialEq for TurnLifecycleRecord
impl PartialEq for TurnLifecycleRecord
Source§fn eq(&self, other: &TurnLifecycleRecord) -> bool
fn eq(&self, other: &TurnLifecycleRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TurnLifecycleRecord
impl Serialize for TurnLifecycleRecord
impl StructuralPartialEq for TurnLifecycleRecord
Auto Trait Implementations§
impl Freeze for TurnLifecycleRecord
impl RefUnwindSafe for TurnLifecycleRecord
impl Send for TurnLifecycleRecord
impl Sync for TurnLifecycleRecord
impl Unpin for TurnLifecycleRecord
impl UnsafeUnpin for TurnLifecycleRecord
impl UnwindSafe for TurnLifecycleRecord
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