pub struct JsonReporter {
pub base_path: Option<PathBuf>,
}Fields§
§base_path: Option<PathBuf>Implementations§
Trait Implementations§
Source§impl Reporter for JsonReporter
impl Reporter for JsonReporter
fn report_stats( &self, stats: &DuplicationStats, writer: &mut dyn Write, ) -> Result<()>
fn report_exact( &self, groups: &[DuplicateGroup], writer: &mut dyn Write, ) -> Result<()>
fn report_near( &self, groups: &[DuplicateGroup], writer: &mut dyn Write, ) -> Result<()>
fn report_sub_exact( &self, groups: &[DuplicateGroup], writer: &mut dyn Write, ) -> Result<()>
fn report_sub_near( &self, groups: &[DuplicateGroup], writer: &mut dyn Write, ) -> Result<()>
Auto Trait Implementations§
impl Freeze for JsonReporter
impl RefUnwindSafe for JsonReporter
impl Send for JsonReporter
impl Sync for JsonReporter
impl Unpin for JsonReporter
impl UnsafeUnpin for JsonReporter
impl UnwindSafe for JsonReporter
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