pub struct Row {
pub id: String,
pub module: String,
pub kind: String,
pub stability: String,
pub effect: Effect,
pub cli: Option<String>,
pub http: Option<String>,
pub mcp_tool: Option<String>,
pub mcp_resource: Option<String>,
pub closed: bool,
pub source: String,
}Expand description
Where one capability is projected, and where it is not.
This is the coverage matrix of the rule: a row per capability, a column per interface.
It is derived, never written down — a capability that reaches nothing shows as a row of
false, which is exactly the “exists but is invisible” case worth seeing.
Fields§
§id: StringThe canonical id.
module: StringThe module that composes it.
kind: StringQuery, command or resource.
stability: StringWhere it stands.
effect: EffectWhat a call changes: nothing, this process’s memory, or the repository. The same classification every projection reads, so the matrix answers “where is it reachable” and “what does reaching it risk” in one row.
cli: Option<String>The command line, when it declares one and clap has it.
http: Option<String>The HTTP route, when it declares one.
mcp_tool: Option<String>The MCP tool name, when it declares one.
mcp_resource: Option<String>The MCP resource URI, when it declares one.
closed: boolWhether every exposure this row declares is answered by its surface.
source: StringWhere the capability is declared; repository-relative.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Row
impl<'de> Deserialize<'de> for Row
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>,
impl Eq for Row
Source§impl JsonSchema for Row
impl JsonSchema for Row
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 Ordered for Row
A matrix row is the capability it reports on, and is ordered by the same id the registry
and the site order capabilities by, so the three can be read side by side.
impl Ordered for Row
A matrix row is the capability it reports on, and is ordered by the same id the registry and the site order capabilities by, so the three can be read side by side.
impl StructuralPartialEq for Row
Auto Trait Implementations§
impl Freeze for Row
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnsafeUnpin for Row
impl UnwindSafe for Row
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>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.