pub enum JournalRecordKind {
Show 24 variants
Run,
Turn,
Context,
Message,
ModelAttempt,
StructuredOutput,
StreamRule,
RealtimeSession,
Hook,
Approval,
Tool,
Isolation,
ChildLifecycle,
AgentPool,
RunMessage,
Wake,
OutputDispatch,
Subagent,
ExtensionAction,
Telemetry,
Recovery,
Checkpoint,
EffectIntent,
EffectResult,
}Expand description
Enumerates the finite journal record kind cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Run
Use this variant when the contract needs to represent run; selecting it has no side effect by itself.
Turn
Use this variant when the contract needs to represent turn; selecting it has no side effect by itself.
Context
Use this variant when the contract needs to represent context; selecting it has no side effect by itself.
Message
Use this variant when the contract needs to represent message; selecting it has no side effect by itself.
ModelAttempt
Use this variant when the contract needs to represent model attempt; selecting it has no side effect by itself.
StructuredOutput
Use this variant when the contract needs to represent structured output; selecting it has no side effect by itself.
StreamRule
Use this variant when the contract needs to represent stream rule; selecting it has no side effect by itself.
RealtimeSession
Use this variant when the contract needs to represent realtime session; selecting it has no side effect by itself.
Hook
Use this variant when the contract needs to represent hook; selecting it has no side effect by itself.
Approval
Use this variant when the contract needs to represent approval; selecting it has no side effect by itself.
Tool
Use this variant when the contract needs to represent tool; selecting it has no side effect by itself.
Isolation
Use this variant when the contract needs to represent isolation; selecting it has no side effect by itself.
ChildLifecycle
Use this variant when the contract needs to represent child lifecycle; selecting it has no side effect by itself.
AgentPool
Use this variant when the contract needs to represent agent pool; selecting it has no side effect by itself.
RunMessage
Use this variant when the contract needs to represent run message; selecting it has no side effect by itself.
Wake
Use this variant when the contract needs to represent wake; selecting it has no side effect by itself.
OutputDispatch
Use this variant when the contract needs to represent output dispatch; selecting it has no side effect by itself.
Subagent
Use this variant when the contract needs to represent subagent; selecting it has no side effect by itself.
ExtensionAction
Use this variant when the contract needs to represent extension action; selecting it has no side effect by itself.
Telemetry
Use this variant when the contract needs to represent telemetry; selecting it has no side effect by itself.
Recovery
Use this variant when the contract needs to represent recovery; selecting it has no side effect by itself.
Checkpoint
Use this variant when the contract needs to represent checkpoint; selecting it has no side effect by itself.
EffectIntent
Use this variant when the contract needs to represent effect intent; selecting it has no side effect by itself.
EffectResult
Use this variant when the contract needs to represent effect result; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for JournalRecordKind
impl Clone for JournalRecordKind
Source§fn clone(&self) -> JournalRecordKind
fn clone(&self) -> JournalRecordKind
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 JournalRecordKind
impl Debug for JournalRecordKind
Source§impl<'de> Deserialize<'de> for JournalRecordKind
impl<'de> Deserialize<'de> for JournalRecordKind
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 JournalRecordKind
impl PartialEq for JournalRecordKind
Source§fn eq(&self, other: &JournalRecordKind) -> bool
fn eq(&self, other: &JournalRecordKind) -> bool
self and other values to be equal, and is used by ==.