pub struct ScenarioReport {
pub name: &'static str,
pub tool_calls: usize,
pub prompt_tokens: u64,
pub generated_tokens: u64,
pub history_messages: usize,
pub duration: Duration,
pub response: String,
}Available on crate feature
test-utils only.Expand description
Summary emitted by a portable model-conformance scenario.
Fields§
§name: &'static strStable scenario name.
tool_calls: usizeNumber of model-invoked tool calls observed by the scenario.
prompt_tokens: u64Aggregated prompt tokens reported by the model across all turns.
generated_tokens: u64Aggregated generated tokens reported by the model across all turns.
history_messages: usizeNumber of messages retained in the completed run history.
duration: DurationEnd-to-end scenario duration.
response: StringThe model’s final user-visible response.
Trait Implementations§
Source§impl Clone for ScenarioReport
impl Clone for ScenarioReport
Source§fn clone(&self) -> ScenarioReport
fn clone(&self) -> ScenarioReport
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 ScenarioReport
impl RefUnwindSafe for ScenarioReport
impl Send for ScenarioReport
impl Sync for ScenarioReport
impl Unpin for ScenarioReport
impl UnsafeUnpin for ScenarioReport
impl UnwindSafe for ScenarioReport
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