pub struct ThreadHistoryTurnChange {
pub turn_id: String,
pub status: TurnStatus,
pub error: Option<TurnError>,
pub started_at: Option<i64>,
pub completed_at: Option<i64>,
pub duration_ms: Option<i64>,
}Expand description
Lightweight turn metadata snapshot for projectors that track turn status without re-reading the full item list.
Fields§
§turn_id: String§status: TurnStatus§error: Option<TurnError>§started_at: Option<i64>§completed_at: Option<i64>§duration_ms: Option<i64>Trait Implementations§
Source§impl Clone for ThreadHistoryTurnChange
impl Clone for ThreadHistoryTurnChange
Source§fn clone(&self) -> ThreadHistoryTurnChange
fn clone(&self) -> ThreadHistoryTurnChange
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 ThreadHistoryTurnChange
impl Debug for ThreadHistoryTurnChange
Source§impl PartialEq for ThreadHistoryTurnChange
impl PartialEq for ThreadHistoryTurnChange
impl StructuralPartialEq for ThreadHistoryTurnChange
Auto Trait Implementations§
impl Freeze for ThreadHistoryTurnChange
impl RefUnwindSafe for ThreadHistoryTurnChange
impl Send for ThreadHistoryTurnChange
impl Sync for ThreadHistoryTurnChange
impl Unpin for ThreadHistoryTurnChange
impl UnsafeUnpin for ThreadHistoryTurnChange
impl UnwindSafe for ThreadHistoryTurnChange
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more