pub struct RequestChainRequest {Show 28 fields
pub request_id: u64,
pub trace_id: Option<String>,
pub session_id: Option<String>,
pub session_identity_source: Option<SessionIdentitySource>,
pub client_name: Option<String>,
pub model: Option<String>,
pub reasoning_effort: Option<String>,
pub service_tier: Option<String>,
pub station_name: Option<String>,
pub provider_id: Option<String>,
pub usage: Option<UsageMetrics>,
pub cost: CostBreakdown,
pub observability: RequestObservability,
pub service: String,
pub method: String,
pub path: String,
pub status_code: u16,
pub duration_ms: u64,
pub ttfb_ms: Option<u64>,
pub streaming: bool,
pub ended_at_ms: u64,
pub attempts_truncated: bool,
pub provider_signals_truncated: bool,
pub policy_actions_truncated: bool,
pub route_attempts: Vec<RequestChainRouteAttempt>,
pub provider_signals: Vec<RequestChainProviderSignal>,
pub policy_actions: Vec<RequestChainPolicyAction>,
pub timeline: Vec<RequestChainTimelineEvent>,
}Fields§
§request_id: u64§trace_id: Option<String>§session_id: Option<String>§session_identity_source: Option<SessionIdentitySource>§client_name: Option<String>§model: Option<String>§reasoning_effort: Option<String>§service_tier: Option<String>§station_name: Option<String>§provider_id: Option<String>§usage: Option<UsageMetrics>§cost: CostBreakdown§observability: RequestObservability§service: String§method: String§path: String§status_code: u16§duration_ms: u64§ttfb_ms: Option<u64>§streaming: bool§ended_at_ms: u64§attempts_truncated: bool§provider_signals_truncated: bool§policy_actions_truncated: bool§route_attempts: Vec<RequestChainRouteAttempt>§provider_signals: Vec<RequestChainProviderSignal>§policy_actions: Vec<RequestChainPolicyAction>§timeline: Vec<RequestChainTimelineEvent>Implementations§
Source§impl RequestChainRequest
impl RequestChainRequest
pub fn from_finished_request(request: &FinishedRequest) -> Self
Trait Implementations§
Source§impl Clone for RequestChainRequest
impl Clone for RequestChainRequest
Source§fn clone(&self) -> RequestChainRequest
fn clone(&self) -> RequestChainRequest
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 RequestChainRequest
impl Debug for RequestChainRequest
Source§impl<'de> Deserialize<'de> for RequestChainRequest
impl<'de> Deserialize<'de> for RequestChainRequest
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 RequestChainRequest
impl PartialEq for RequestChainRequest
Source§impl Serialize for RequestChainRequest
impl Serialize for RequestChainRequest
impl StructuralPartialEq for RequestChainRequest
Auto Trait Implementations§
impl Freeze for RequestChainRequest
impl RefUnwindSafe for RequestChainRequest
impl Send for RequestChainRequest
impl Sync for RequestChainRequest
impl Unpin for RequestChainRequest
impl UnsafeUnpin for RequestChainRequest
impl UnwindSafe for RequestChainRequest
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