pub struct JobResult {
pub input_tokens: Option<u32>,
pub output_tokens: Option<u32>,
pub duration_ms: u32,
}Expand description
Result returned to the coordinator when a job completes successfully.
Fields§
§input_tokens: Option<u32>§output_tokens: Option<u32>§duration_ms: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for JobResult
impl RefUnwindSafe for JobResult
impl Send for JobResult
impl Sync for JobResult
impl Unpin for JobResult
impl UnsafeUnpin for JobResult
impl UnwindSafe for JobResult
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