pub struct ReportGenerator;Expand description
Generates reports from generation results
Implementations§
Source§impl ReportGenerator
impl ReportGenerator
Sourcepub fn generate(result: &GenerationResult) -> GenerationReport
pub fn generate(result: &GenerationResult) -> GenerationReport
Generate a report from generation results
Sourcepub fn generate_text(result: &GenerationResult) -> String
pub fn generate_text(result: &GenerationResult) -> String
Generate a report as formatted text
Sourcepub fn generate_json(result: &GenerationResult) -> Result<String, Error>
pub fn generate_json(result: &GenerationResult) -> Result<String, Error>
Generate a report as JSON
Auto Trait Implementations§
impl Freeze for ReportGenerator
impl RefUnwindSafe for ReportGenerator
impl Send for ReportGenerator
impl Sync for ReportGenerator
impl Unpin 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