pub struct Inputs<'a> {
pub registry: Option<&'a CapabilityRegistry>,
pub share: Option<&'a Path>,
pub workflows: Option<&'a WorkflowCatalogue>,
pub bridged: BTreeSet<String>,
}Expand description
What a build reads.
Every field is optional in the sense that a build without it produces a smaller graph rather than an error: a checkout with no shell tool, no workflow runner or no built registry still has a command line, and the completion for it must still work.
Fields§
§registry: Option<&'a CapabilityRegistry>The capability registry, for the join that gives a command its typed schema, its MCP tool and its HTTP route. Absent on the fast path, where nothing needs them.
The share directory, where the shell tool’s command registry is shipped.
workflows: Option<&'a WorkflowCatalogue>The workflows the runner reports.
bridged: BTreeSet<String>The recipe names the last materialised bridge emitted. A recipe with one of these names is this graph’s own projection and is not read back as a declaration.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Inputs<'a>
impl<'a> !UnwindSafe for Inputs<'a>
impl<'a> Freeze for Inputs<'a>
impl<'a> Send for Inputs<'a>
impl<'a> Sync for Inputs<'a>
impl<'a> Unpin for Inputs<'a>
impl<'a> UnsafeUnpin for Inputs<'a>
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