pub struct ModelCallStartEvent {
pub runtime_context: Option<JsonValue>,
pub call_id: String,
pub step_number: u32,
pub model: ModelIdentity,
pub call_options: Option<CallOptionsRecord>,
}Expand description
A model call is about to be made.
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.
call_options: Option<CallOptionsRecord>Serializable snapshot of the call options (only when record_inputs).
Trait Implementations§
Source§impl Clone for ModelCallStartEvent
impl Clone for ModelCallStartEvent
Source§fn clone(&self) -> ModelCallStartEvent
fn clone(&self) -> ModelCallStartEvent
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 ModelCallStartEvent
impl RefUnwindSafe for ModelCallStartEvent
impl Send for ModelCallStartEvent
impl Sync for ModelCallStartEvent
impl Unpin for ModelCallStartEvent
impl UnsafeUnpin for ModelCallStartEvent
impl UnwindSafe for ModelCallStartEvent
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