pub enum FrameKind {
UserMsg,
AgentReply,
InternalThought,
ToolCall,
}Expand description
Canonical stream/frame classification for a timeline entry or stored chunk.
This axis is intentionally orthogonal to role: source formats drift in how
they spell assistant reasoning or tool payloads, but downstream retrieval
needs one stable vocabulary for “which channel is this?”.
Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FrameKind
impl<'de> Deserialize<'de> for FrameKind
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 Copy for FrameKind
impl Eq for FrameKind
impl StructuralPartialEq for FrameKind
Auto Trait Implementations§
impl Freeze for FrameKind
impl RefUnwindSafe for FrameKind
impl Send for FrameKind
impl Sync for FrameKind
impl Unpin for FrameKind
impl UnsafeUnpin for FrameKind
impl UnwindSafe for FrameKind
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