| //! Per-response usage metadata reported by the upstream service, without aggregation. | |
| use schemars::JsonSchema; | |
| use serde::Deserialize; | |
| use serde::Serialize; | |
| use serde_json::Value; | |
| use ts_rs::TS; | |
| /// Usage metadata reported for one upstream response. | |
| pub struct ResponseUsageMetadata { | |
| pub amount: Option<String>, | |
| pub metadata: Option<Value>, | |
| } | |