pub struct ProgramDep {
pub name: String,
pub detect: DetectMethod,
pub reason: String,
pub hint: Option<String>,
pub registry: Option<String>,
pub recipe: Option<ProgramRecipe>,
}Expand description
One external-program requirement declared by a skill / MCP entry / agent profile / fleet. Data only — no I/O.
Fields§
§name: StringStable lowercase identifier (also the registry key when registry is None).
detect: DetectMethodHow to check whether the program is present.
reason: StringHuman-readable “why this is needed”, shown in the doctor report.
hint: Option<String>Manual-install guidance (URL/command). Display only — never executed.
registry: Option<String>Optional key into MUR’s curated registry (enables auto-install).
recipe: Option<ProgramRecipe>Author-declared install recipe (Phase 2). Present only in signed bundles; auto-installed at import ONLY from a trusted publisher.
Trait Implementations§
Source§impl Clone for ProgramDep
impl Clone for ProgramDep
Source§fn clone(&self) -> ProgramDep
fn clone(&self) -> ProgramDep
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 ProgramDep
impl Debug for ProgramDep
Source§impl<'de> Deserialize<'de> for ProgramDep
impl<'de> Deserialize<'de> for ProgramDep
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 ProgramDep
impl JsonSchema for ProgramDep
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 ProgramDep
impl PartialEq for ProgramDep
Source§impl Serialize for ProgramDep
impl Serialize for ProgramDep
impl StructuralPartialEq for ProgramDep
Auto Trait Implementations§
impl Freeze for ProgramDep
impl RefUnwindSafe for ProgramDep
impl Send for ProgramDep
impl Sync for ProgramDep
impl Unpin for ProgramDep
impl UnsafeUnpin for ProgramDep
impl UnwindSafe for ProgramDep
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