pub struct FlareRunRow {
pub id: String,
pub task: String,
pub state: String,
pub routes: Vec<String>,
pub jobs: usize,
pub parent: Option<String>,
pub started_ms: u64,
pub finished_ms: Option<u64>,
pub prompt_tokens: Option<u64>,
pub completion_tokens: Option<u64>,
pub iterations: usize,
}Expand description
One flare run’s ledger row (#171) — what flares list prints and what a cancel addresses.
Fields§
§id: String§task: String§state: Stringrunning, done, cancelled or failed.
routes: Vec<String>The routes the run’s jobs named, deduplicated, in the order they were asked for.
jobs: usize§parent: Option<String>§started_ms: u64§finished_ms: Option<u64>§prompt_tokens: Option<u64>§completion_tokens: Option<u64>§iterations: usizeImplementations§
Trait Implementations§
Source§impl Clone for FlareRunRow
impl Clone for FlareRunRow
Source§impl Debug for FlareRunRow
impl Debug for FlareRunRow
impl Eq for FlareRunRow
Source§impl PartialEq for FlareRunRow
impl PartialEq for FlareRunRow
impl StructuralPartialEq for FlareRunRow
Auto Trait Implementations§
impl Forget for FlareRunRow
impl Freeze for FlareRunRow
impl Move for FlareRunRow
impl RefUnwindSafe for FlareRunRow
impl Send for FlareRunRowwhere
RawVecInner: Send,
impl Sync for FlareRunRowwhere
RawVecInner: Sync,
impl Unpin for FlareRunRow
impl UnsafeUnpin for FlareRunRowwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for FlareRunRowwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.