pub struct BackgroundJob {
pub key: String,
pub title: String,
pub started_at: DateTime<Utc>,
pub task_id: Option<String>,
pub run: Option<String>,
}Expand description
A job a tool runs in the background for a chat.
Fields§
§key: StringThe tool’s own handle for it; never shown.
title: StringWhat it is, in plain words.
started_at: DateTime<Utc>§task_id: Option<String>The task (turn) that started it, when known.
run: Option<String>The run it is in the runtime’s records, when it is one.
Trait Implementations§
Source§impl Clone for BackgroundJob
impl Clone for BackgroundJob
Source§impl Debug for BackgroundJob
impl Debug for BackgroundJob
impl Eq for BackgroundJob
Source§impl PartialEq for BackgroundJob
impl PartialEq for BackgroundJob
impl StructuralPartialEq for BackgroundJob
Auto Trait Implementations§
impl Forget for BackgroundJob
impl Freeze for BackgroundJob
impl Move for BackgroundJob
impl RefUnwindSafe for BackgroundJob
impl Send for BackgroundJob
impl Sync for BackgroundJob
impl Unpin for BackgroundJob
impl UnsafeUnpin for BackgroundJobwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
impl UnwindSafe for BackgroundJob
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