pub struct InferenceCall {Show 14 fields
pub inference_call_id: InferenceCallId,
pub thread_id: AgentThreadId,
pub codex_turn_id: CodexTurnId,
pub execution: ExecutionWindow,
pub model: String,
pub provider_name: String,
pub response_id: Option<String>,
pub upstream_request_id: Option<String>,
pub request_item_ids: Vec<ConversationItemId>,
pub response_item_ids: Vec<ConversationItemId>,
pub tool_call_ids_started_by_response: Vec<ToolCallId>,
pub usage: Option<TokenUsage>,
pub raw_request_payload_id: RawPayloadId,
pub raw_response_payload_id: Option<RawPayloadId>,
}Expand description
Public reduced trace model returned by replay. One outbound inference request and its response metadata.
Full upstream request/response bodies live behind raw payload refs. The request/response item ID lists are the reduced, model-visible snapshot.
Fields§
§inference_call_id: InferenceCallId§thread_id: AgentThreadId§codex_turn_id: CodexTurnId§execution: ExecutionWindow§model: String§provider_name: String§response_id: Option<String>Responses API response id, used by follow-up previous_response_id requests.
upstream_request_id: Option<String>Request id returned by HTTP/proxy/engine infrastructure.
request_item_ids: Vec<ConversationItemId>Complete ordered input snapshot sent with this request.
response_item_ids: Vec<ConversationItemId>Ordered output items produced by this response.
tool_call_ids_started_by_response: Vec<ToolCallId>Runtime tool calls whose model-visible call item came from this response.
usage: Option<TokenUsage>§raw_request_payload_id: RawPayloadId§raw_response_payload_id: Option<RawPayloadId>Full upstream response payload. None while running or after pre-stream failures.
Trait Implementations§
Source§impl Clone for InferenceCall
impl Clone for InferenceCall
Source§fn clone(&self) -> InferenceCall
fn clone(&self) -> InferenceCall
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 moreSource§impl Debug for InferenceCall
impl Debug for InferenceCall
Source§impl<'de> Deserialize<'de> for InferenceCall
impl<'de> Deserialize<'de> for InferenceCall
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InferenceCall
impl PartialEq for InferenceCall
Source§impl Serialize for InferenceCall
impl Serialize for InferenceCall
impl StructuralPartialEq for InferenceCall
Auto Trait Implementations§
impl Freeze for InferenceCall
impl RefUnwindSafe for InferenceCall
impl Send for InferenceCall
impl Sync for InferenceCall
impl Unpin for InferenceCall
impl UnsafeUnpin for InferenceCall
impl UnwindSafe for InferenceCall
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more