pub struct StepStartEvent {
pub runtime_context: Option<JsonValue>,
pub call_id: String,
pub step_number: u32,
pub model: ModelIdentity,
pub messages: Option<Arc<[Message]>>,
}Expand description
A step started.
Fields§
§runtime_context: Option<JsonValue>Application runtime state (available to hooks; telemetry requires include_runtime_context).
call_id: StringCall id.
step_number: u32Zero-based step index.
model: ModelIdentityThe model of this step.
messages: Option<Arc<[Message]>>Messages sent to the model (only when record_inputs).
Trait Implementations§
Source§impl Clone for StepStartEvent
impl Clone for StepStartEvent
Source§fn clone(&self) -> StepStartEvent
fn clone(&self) -> StepStartEvent
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 StepStartEvent
impl RefUnwindSafe for StepStartEvent
impl Send for StepStartEvent
impl Sync for StepStartEvent
impl Unpin for StepStartEvent
impl UnsafeUnpin for StepStartEvent
impl UnwindSafe for StepStartEvent
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