pub struct SummaryUseCase;Expand description
Use case for summarizing comparison receipts.
Implementations§
Source§impl SummaryUseCase
impl SummaryUseCase
Sourcepub fn execute(&self, req: SummaryRequest) -> Result<SummaryOutcome>
pub fn execute(&self, req: SummaryRequest) -> Result<SummaryOutcome>
Executes the summary use case.
Sourcepub fn render_markdown(&self, outcome: &SummaryOutcome) -> String
pub fn render_markdown(&self, outcome: &SummaryOutcome) -> String
Renders the summary outcome as a Markdown table.
Auto Trait Implementations§
impl Freeze for SummaryUseCase
impl RefUnwindSafe for SummaryUseCase
impl Send for SummaryUseCase
impl Sync for SummaryUseCase
impl Unpin for SummaryUseCase
impl UnsafeUnpin for SummaryUseCase
impl UnwindSafe for SummaryUseCase
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