pub struct CurrentJob {
pub job_id: String,
pub kind: TaskKind,
pub model: String,
pub prompt: String,
pub started_at: DateTime<Utc>,
}Expand description
Job in flight right now. Populated by claim_tick before
dispatch, cleared once the job finishes (success or failure).
Fields§
§job_id: String§kind: TaskKind§model: String§prompt: String§started_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for CurrentJob
impl Clone for CurrentJob
Source§fn clone(&self) -> CurrentJob
fn clone(&self) -> CurrentJob
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CurrentJob
impl RefUnwindSafe for CurrentJob
impl Send for CurrentJob
impl Sync for CurrentJob
impl Unpin for CurrentJob
impl UnsafeUnpin for CurrentJob
impl UnwindSafe for CurrentJob
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