pub struct Workflow {
pub name: String,
pub title: String,
pub description: String,
pub capabilities: Vec<String>,
pub keywords: Vec<String>,
pub skills: Vec<String>,
pub packages: BTreeMap<String, Vec<String>>,
pub templates: BTreeMap<String, String>,
pub architecture: Architecture,
}Expand description
A workflow maps a product intent (“community app”) to capabilities, packages, and a starter template per platform.
Fields§
§name: String§title: String§description: String§capabilities: Vec<String>§keywords: Vec<String>Keywords used by the planner to score prompts against workflows.
skills: Vec<String>Skills to read for this workflow, in order. When empty, the planner lists the skills of the workflow’s packages instead.
packages: BTreeMap<String, Vec<String>>platform -> ordered package list.
templates: BTreeMap<String, String>platform -> template name.
architecture: ArchitectureTrait Implementations§
Source§impl<'de> Deserialize<'de> for Workflow
impl<'de> Deserialize<'de> for Workflow
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
Auto Trait Implementations§
impl Forget for Workflow
impl Freeze for Workflow
impl Move for Workflow
impl RefUnwindSafe for Workflow
impl Send for Workflow
impl Sync for Workflow
impl Unpin for Workflow
impl UnsafeUnpin for Workflow
impl UnwindSafe for Workflow
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