pub struct PackSpec {
pub id: String,
pub version: String,
pub flow_files: Vec<String>,
pub template_dirs: Vec<String>,
pub imports_required: Vec<String>,
pub tools: Vec<ToolSpec>,
}Expand description
Canonical on-disk pack specification (pack.yaml).
Fields default to empty collections to keep additive evolution backwards compatible.
Fields§
§id: StringUnique identifier for the pack.
version: StringSemantic pack version.
flow_files: Vec<String>Relative flow file paths bundled with the pack.
template_dirs: Vec<String>Template directories that should be bundled with the pack.
imports_required: Vec<String>Optional set of required imports enforced by the host.
tools: Vec<ToolSpec>Optional legacy tool definitions. Prefer MCP-first designs.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PackSpec
impl<'de> Deserialize<'de> for PackSpec
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 StructuralPartialEq for PackSpec
Auto Trait Implementations§
impl Freeze for PackSpec
impl RefUnwindSafe for PackSpec
impl Send for PackSpec
impl Sync for PackSpec
impl Unpin for PackSpec
impl UnwindSafe for PackSpec
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