pub struct RunId(pub Uuid);Expand description
Unique identifier for a single run of the engine.
Carried on every crate::StreamChunk variant the engine emits and on
every crate::ChatMiddleware hook so observability code can correlate
events across concurrent runs. The engine mints a fresh
Uuid::new_v4 when crate::RunConfig::run_id is None; callers
pass an existing RunId when an outer system already has its own
trace identifier to bind to.
Tuple Fields§
§0: UuidImplementations§
Trait Implementations§
impl Eq for RunId
impl StructuralPartialEq for RunId
Auto Trait Implementations§
impl Freeze for RunId
impl RefUnwindSafe for RunId
impl Send for RunId
impl Sync for RunId
impl Unpin for RunId
impl UnsafeUnpin for RunId
impl UnwindSafe for RunId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.