pub struct ExportedDecisionRow {
pub request_id: String,
pub session_id: Option<String>,
pub organization_id: String,
pub provider: Option<String>,
pub model: Option<String>,
pub status: String,
pub latency_ms: Option<i64>,
pub cost_micro_usd: Option<i64>,
pub cache_enabled: Option<bool>,
pub threat: Option<String>,
pub created_at: String,
}Expand description
One row of the decision export.
Fields§
§request_id: StringThe originating request id.
session_id: Option<String>Session the request belonged to, if any.
organization_id: StringOwning organization id.
provider: Option<String>Resolved upstream provider.
model: Option<String>Resolved upstream model.
status: StringTerminal status of the request.
latency_ms: Option<i64>End-to-end latency in milliseconds.
cost_micro_usd: Option<i64>Cost in micro-USD.
cache_enabled: Option<bool>Whether caching was enabled.
threat: Option<String>Detected threat label, if any.
created_at: StringRFC3339 creation timestamp.
Trait Implementations§
Source§impl Clone for ExportedDecisionRow
impl Clone for ExportedDecisionRow
Source§fn clone(&self) -> ExportedDecisionRow
fn clone(&self) -> ExportedDecisionRow
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 ExportedDecisionRow
impl Debug for ExportedDecisionRow
Source§impl<'de> Deserialize<'de> for ExportedDecisionRow
impl<'de> Deserialize<'de> for ExportedDecisionRow
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 ExportedDecisionRow
impl RefUnwindSafe for ExportedDecisionRow
impl Send for ExportedDecisionRow
impl Sync for ExportedDecisionRow
impl Unpin for ExportedDecisionRow
impl UnsafeUnpin for ExportedDecisionRow
impl UnwindSafe for ExportedDecisionRow
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