//! `ExecResponseSummary` — a flattened, crate-portable view of an //! `ExecResponse` for use by `InboxResult`. Lives in //! `picloud-shared` because the dispatcher (manager-core) and the //! orchestrator-core inbox registry both need to read it, and //! `executor-core::ExecResponse` is owned by a leaf crate. use std::collections::BTreeMap; use serde::{Deserialize, Serialize}; #[derive(Debug, Clone, Serialize, Deserialize)] pub struct ExecResponseSummary { pub status_code: u16, pub headers: BTreeMap, pub body: serde_json::Value, }