pub struct CellMap {
pub inputs: Vec<CellEntry>,
pub tools: Vec<Tool>,
}Expand description
Re-export of the verified runtime bundle the served tools operate on (loaded
fail-closed via pmcp_workbook_runtime::load_bundle).
The manifest-driven I/O cell map (Codex HIGH #5): the shared inputs pool + the
per-Table Tools the served binary fans out into one MCP tool each (WBV2-03 §4.1).
The single-tool outputs: Vec<CellEntry> FIELD was lifted to tools: Vec<Tool>:
each Tool owns its own outputs + minimal input_keys, so the N=1 (single output
Table) case is just tools.len() == 1 — never special-cased. inputs stays the
shared pool every tool draws its input_keys from.
Derive note: Eq is DROPPED because Tool::oracle carries an f64-bearing
CellValue; the map is PartialEq but NOT Eq.
Fields§
§inputs: Vec<CellEntry>One entry per Role::Input cell (the shared seedable per-call input pool every
tool’s input_keys draws from).
tools: Vec<Tool>One Tool per output Table (WBV2-03 §4.1) — the multi-tool fan-out.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CellMap
impl<'de> Deserialize<'de> for CellMap
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CellMap, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CellMap, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for CellMap
impl JsonSchema for CellMap
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl Serialize for CellMap
impl Serialize for CellMap
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for CellMap
Auto Trait Implementations§
impl Freeze for CellMap
impl RefUnwindSafe for CellMap
impl Send for CellMap
impl Sync for CellMap
impl Unpin for CellMap
impl UnsafeUnpin for CellMap
impl UnwindSafe for CellMap
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more