pub struct RequestDetail {Show 14 fields
pub id: Uuid,
pub batch_id: Option<Uuid>,
pub model: String,
pub status: String,
pub created_at: DateTime<Utc>,
pub completed_at: Option<DateTime<Utc>>,
pub failed_at: Option<DateTime<Utc>>,
pub duration_ms: Option<f64>,
pub response_status: Option<i16>,
pub body: Option<String>,
pub response_body: Option<String>,
pub error: Option<String>,
pub service_tier: Option<String>,
pub created_by: String,
}Expand description
Full detail of an individual request, including body and response.
Row scope: batchless-only. get_request_detail filters
WHERE r.created_by IS NOT NULL. Per-row inspection of batched
requests goes through get_batch_results_stream / BatchResultItem
instead. Used by the dashboard’s response-detail page and the Open
Responses API.
Fields§
§id: Uuid§batch_id: Option<Uuid>Always None — this query is scoped to batchless rows only.
Per-row inspection of batched requests uses
get_batch_results_stream / BatchResultItem.
model: String§status: String§created_at: DateTime<Utc>§completed_at: Option<DateTime<Utc>>§failed_at: Option<DateTime<Utc>>§duration_ms: Option<f64>§response_status: Option<i16>§body: Option<String>None when the template has been purged (file soft-deleted + orphan purge).
response_body: Option<String>§error: Option<String>§service_tier: Option<String>§created_by: StringCreator ID (user or org). Always set: get_request_detail only
returns rows where requests.created_by IS NOT NULL.
Trait Implementations§
Source§impl Clone for RequestDetail
impl Clone for RequestDetail
Source§fn clone(&self) -> RequestDetail
fn clone(&self) -> RequestDetail
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 RequestDetail
impl Debug for RequestDetail
Source§impl<'de> Deserialize<'de> for RequestDetail
impl<'de> Deserialize<'de> for RequestDetail
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
Auto Trait Implementations§
impl Freeze for RequestDetail
impl RefUnwindSafe for RequestDetail
impl Send for RequestDetail
impl Sync for RequestDetail
impl Unpin for RequestDetail
impl UnsafeUnpin for RequestDetail
impl UnwindSafe for RequestDetail
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