pub struct Match {
pub candidate: String,
pub similarity: f64,
}Expand description
Match result with similarity score
Fields§
§candidate: StringThe matched candidate string
similarity: f64Similarity score (0.0 to 1.0)
Implementations§
Trait Implementations§
impl StructuralPartialEq for Match
Auto Trait Implementations§
impl Freeze for Match
impl RefUnwindSafe for Match
impl Send for Match
impl Sync for Match
impl Unpin for Match
impl UnwindSafe for Match
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