pub struct Provenance;Expand description
Provenance rendering helpers.
Implementations§
Source§impl Provenance
impl Provenance
Sourcepub fn line(artifact: &Artifact, schema: &[ParamSpec]) -> String
pub fn line(artifact: &Artifact, schema: &[ParamSpec]) -> String
A one-line summary: model, the scalar params, and the duration.
Sourcepub fn details(artifact: &Artifact, schema: &[ParamSpec]) -> String
pub fn details(artifact: &Artifact, schema: &[ParamSpec]) -> String
A multi-line detail form: model, runtime, capability, prompt, params, then duration and job.
Auto Trait Implementations§
impl Freeze for Provenance
impl RefUnwindSafe for Provenance
impl Send for Provenance
impl Sync for Provenance
impl Unpin for Provenance
impl UnsafeUnpin for Provenance
impl UnwindSafe for Provenance
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