pub struct StoredRun {
pub id: Uuid,
pub conversation_id: Option<Uuid>,
pub agent: String,
pub input: String,
pub status: StoredRunStatus,
pub created_at: DateTime<Utc>,
pub started_at: Option<DateTime<Utc>>,
pub finished_at: Option<DateTime<Utc>>,
pub response: Option<String>,
pub error: Option<String>,
}Expand description
A run snapshot suitable for durable storage.
Fields§
§id: Uuid§conversation_id: Option<Uuid>§agent: String§input: String§status: StoredRunStatus§created_at: DateTime<Utc>§started_at: Option<DateTime<Utc>>§finished_at: Option<DateTime<Utc>>§response: Option<String>§error: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for StoredRun
impl<'de> Deserialize<'de> for StoredRun
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 Eq for StoredRun
impl StructuralPartialEq for StoredRun
Auto Trait Implementations§
impl Freeze for StoredRun
impl RefUnwindSafe for StoredRun
impl Send for StoredRun
impl Sync for StoredRun
impl Unpin for StoredRun
impl UnsafeUnpin for StoredRun
impl UnwindSafe for StoredRun
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
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.