pub struct Projections {
pub cli: Option<String>,
pub workflow: Option<String>,
pub mcp: Option<String>,
pub http: Option<String>,
pub cockpit: Option<String>,
pub docs: String,
pub withheld: Option<String>,
}Expand description
Where one command appears, derived from its effect, its interactivity and its origin.
Every field is computed by super::policy. Nothing declares a projection, and no
surface keeps a list of what it carries: a surface asks the graph.
Fields§
§cli: Option<String>The command line, as typed.
workflow: Option<String>The generated workflow bridge’s recipe name.
mcp: Option<String>The MCP tool name, when the capability behind it declares one.
http: Option<String>The HTTP route, when the capability behind it declares one.
cockpit: Option<String>The Cockpit address, when the surface carries it.
docs: StringThe page on the site. Every command has one.
withheld: Option<String>Why a machine surface does not carry it, when one does not.
Trait Implementations§
Source§impl Clone for Projections
impl Clone for Projections
Source§fn clone(&self) -> Projections
fn clone(&self) -> Projections
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Projections
impl Debug for Projections
Source§impl Default for Projections
impl Default for Projections
Source§fn default() -> Projections
fn default() -> Projections
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Projections
impl<'de> Deserialize<'de> for Projections
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
impl Eq for Projections
Source§impl JsonSchema for Projections
impl JsonSchema for Projections
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 moreSource§impl PartialEq for Projections
impl PartialEq for Projections
Source§fn eq(&self, other: &Projections) -> bool
fn eq(&self, other: &Projections) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Projections
impl Serialize for Projections
impl StructuralPartialEq for Projections
Auto Trait Implementations§
impl Freeze for Projections
impl RefUnwindSafe for Projections
impl Send for Projections
impl Sync for Projections
impl Unpin for Projections
impl UnsafeUnpin for Projections
impl UnwindSafe for Projections
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
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
Compare self to
key and return true if they are equal.