pub struct ReportGenerator { /* private fields */ }Expand description
Report generator
Implementations§
Source§impl ReportGenerator
impl ReportGenerator
Sourcepub fn new(store: RequirementsStore, database_path: String) -> Self
pub fn new(store: RequirementsStore, database_path: String) -> Self
Create a new report generator
Sourcepub fn with_project_root(self, root: PathBuf) -> Self
pub fn with_project_root(self, root: PathBuf) -> Self
Set project root for scaffolding status check
Sourcepub fn generate(&self) -> AiIntegrationReport
pub fn generate(&self) -> AiIntegrationReport
Generate the report data
Sourcepub fn render_markdown(&self, report: &AiIntegrationReport) -> String
pub fn render_markdown(&self, report: &AiIntegrationReport) -> String
Render report as markdown
Sourcepub fn render_html(&self, report: &AiIntegrationReport) -> String
pub fn render_html(&self, report: &AiIntegrationReport) -> String
Render report as HTML
Auto Trait Implementations§
impl Freeze for ReportGenerator
impl !RefUnwindSafe for ReportGenerator
impl Send for ReportGenerator
impl Sync for ReportGenerator
impl Unpin for ReportGenerator
impl UnsafeUnpin for ReportGenerator
impl !UnwindSafe for ReportGenerator
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