pub struct BuildResult {
pub properties: SkillProperties,
pub files: HashMap<String, String>,
pub output_dir: PathBuf,
pub warnings: Vec<String>,
}Expand description
Result of skill generation.
Fields§
§properties: SkillPropertiesParsed properties from the generated SKILL.md frontmatter.
files: HashMap<String, String>All files written, keyed by relative path (includes SKILL.md).
output_dir: PathBufDirectory where the skill was created.
warnings: Vec<String>Warnings collected during generation (e.g., LLM fallback notices).
These replace the previous eprintln! calls, giving library consumers
structured access to non-fatal issues that occurred during the build.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BuildResult
impl RefUnwindSafe for BuildResult
impl Send for BuildResult
impl Sync for BuildResult
impl Unpin for BuildResult
impl UnsafeUnpin for BuildResult
impl UnwindSafe for BuildResult
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