pub struct CellMap {
pub inputs: Vec<CellEntry>,
pub tools: Vec<Tool>,
}Expand description
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<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
Source§impl JsonSchema for CellMap
impl JsonSchema for CellMap
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl 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
Mutably borrows from an owned value. Read more