pub enum ThreadTimelineEntry {
Item {
item: ThreadItem,
position: u64,
turn_id: String,
},
Realtime {
item: ThreadRealtimeItem,
position: u64,
},
TurnStarted {
position: u64,
started_at: Option<i64>,
turn_id: String,
},
TurnCompleted {
completed_at: Option<i64>,
duration_ms: Option<i64>,
error: Option<TurnError>,
position: u64,
started_at: Option<i64>,
status: TurnStatus,
turn_id: String,
},
}Expand description
EXPERIMENTAL upstream — one item or turn boundary in canonical rollout
order (0.148). Wire quirk mirrored exactly: the item variant uses
camelCase turnId while the turn-boundary variants use snake_case
turn_id/started_at/completed_at/duration_ms.
Variants§
Trait Implementations§
Source§impl Clone for ThreadTimelineEntry
impl Clone for ThreadTimelineEntry
Source§fn clone(&self) -> ThreadTimelineEntry
fn clone(&self) -> ThreadTimelineEntry
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 ThreadTimelineEntry
impl Debug for ThreadTimelineEntry
Source§impl<'de> Deserialize<'de> for ThreadTimelineEntry
impl<'de> Deserialize<'de> for ThreadTimelineEntry
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
Source§impl PartialEq for ThreadTimelineEntry
impl PartialEq for ThreadTimelineEntry
Source§impl Serialize for ThreadTimelineEntry
impl Serialize for ThreadTimelineEntry
impl StructuralPartialEq for ThreadTimelineEntry
Auto Trait Implementations§
impl Freeze for ThreadTimelineEntry
impl RefUnwindSafe for ThreadTimelineEntry
impl Send for ThreadTimelineEntry
impl Sync for ThreadTimelineEntry
impl Unpin for ThreadTimelineEntry
impl UnsafeUnpin for ThreadTimelineEntry
impl UnwindSafe for ThreadTimelineEntry
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