pub struct RunMeta {
pub agent_id: String,
pub origin: RunOrigin,
pub status: RunStatus,
pub parent_thread_id: Option<String>,
pub termination_code: Option<String>,
pub termination_detail: Option<String>,
}Expand description
Run-level metadata carried in a ThreadChangeSet.
When present, the thread store uses this to maintain a run index. Set on the first changeset of a run (to create the record) and the last (to finalize status / termination).
Fields§
§agent_id: String§origin: RunOrigin§status: RunStatus§parent_thread_id: Option<String>§termination_code: Option<String>§termination_detail: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunMeta
impl<'de> Deserialize<'de> for RunMeta
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
Auto Trait Implementations§
impl Freeze for RunMeta
impl RefUnwindSafe for RunMeta
impl Send for RunMeta
impl Sync for RunMeta
impl Unpin for RunMeta
impl UnsafeUnpin for RunMeta
impl UnwindSafe for RunMeta
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