pub struct SimilarityResult {
pub exact: f64,
pub keyword: f64,
pub embedding: f64,
pub structure: f64,
pub weighted: f64,
pub should_merge: bool,
pub reason: String,
}Expand description
Similarity detection result with per-stage breakdown
Fields§
§exact: f64§keyword: f64§embedding: f64§structure: f64§weighted: f64§should_merge: bool§reason: StringTrait Implementations§
Source§impl Clone for SimilarityResult
impl Clone for SimilarityResult
Auto Trait Implementations§
impl Forget for SimilarityResult
impl Freeze for SimilarityResult
impl Move for SimilarityResult
impl RefUnwindSafe for SimilarityResult
impl Send for SimilarityResult
impl Sync for SimilarityResult
impl Unpin for SimilarityResult
impl UnsafeUnpin for SimilarityResult
impl UnwindSafe for SimilarityResult
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