pub struct RunRecord {
pub id: RunId,
pub session_id: Uuid,
pub status: RunStatus,
pub provider: ProviderId,
pub model: ModelName,
pub metadata: Value,
pub client_request_id: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
Persistent record of an agent run.
Fields§
§id: RunIdUnique run identifier.
session_id: UuidSession this run belongs to.
status: RunStatusCurrent status of the run.
provider: ProviderIdProvider used for model calls.
model: ModelNameModel used for generation.
metadata: ValueRun metadata.
client_request_id: Option<String>Optional client-provided idempotency key.
created_at: DateTime<Utc>When the run was created.
updated_at: DateTime<Utc>When the run was last updated.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunRecord
impl<'de> Deserialize<'de> for RunRecord
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 RunRecord
impl RefUnwindSafe for RunRecord
impl Send for RunRecord
impl Sync for RunRecord
impl Unpin for RunRecord
impl UnsafeUnpin for RunRecord
impl UnwindSafe for RunRecord
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