pub struct RecentJob {
pub job_id: String,
pub kind: TaskKind,
pub model: String,
pub prompt: String,
pub outcome: JobOutcome,
pub started_at: DateTime<Utc>,
pub finished_at: DateTime<Utc>,
}Expand description
One finished job, retained in the recent-jobs ring for the UI.
Fields§
§job_id: String§kind: TaskKind§model: String§prompt: String§outcome: JobOutcome§started_at: DateTime<Utc>§finished_at: DateTime<Utc>Trait Implementations§
Auto Trait Implementations§
impl Freeze for RecentJob
impl RefUnwindSafe for RecentJob
impl Send for RecentJob
impl Sync for RecentJob
impl Unpin for RecentJob
impl UnsafeUnpin for RecentJob
impl UnwindSafe for RecentJob
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