pub struct TransformReport {
pub changed_files: Vec<PathBuf>,
pub skipped_files: Vec<SkippedTransform>,
pub unsupported_patterns: Vec<UnsupportedPatternReport>,
pub file_confidences: HashMap<PathBuf, TransformConfidence>,
}Fields§
§changed_files: Vec<PathBuf>§skipped_files: Vec<SkippedTransform>§unsupported_patterns: Vec<UnsupportedPatternReport>§file_confidences: HashMap<PathBuf, TransformConfidence>Implementations§
Source§impl TransformReport
impl TransformReport
pub fn changed_file_count(&self) -> usize
pub fn populate_confidences(&mut self, detection_report: &DetectionReport)
pub fn calculate_confidence( &self, path: &Path, detection_report: &DetectionReport, ) -> TransformConfidence
Trait Implementations§
Source§impl Clone for TransformReport
impl Clone for TransformReport
Source§fn clone(&self) -> TransformReport
fn clone(&self) -> TransformReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransformReport
impl Debug for TransformReport
Source§impl Default for TransformReport
impl Default for TransformReport
Source§fn default() -> TransformReport
fn default() -> TransformReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TransformReport
impl RefUnwindSafe for TransformReport
impl Send for TransformReport
impl Sync for TransformReport
impl Unpin for TransformReport
impl UnsafeUnpin for TransformReport
impl UnwindSafe for TransformReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more