pub struct DictionaryMatch {
pub name: String,
pub confidence: f64,
pub dictionary: Dictionary,
}Expand description
A match result from dictionary detection.
Fields§
§name: StringName of the matched dictionary
confidence: f64Confidence score (0.0 to 1.0)
dictionary: DictionaryThe dictionary itself
Trait Implementations§
Source§impl Clone for DictionaryMatch
impl Clone for DictionaryMatch
Source§fn clone(&self) -> DictionaryMatch
fn clone(&self) -> DictionaryMatch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DictionaryMatch
impl RefUnwindSafe for DictionaryMatch
impl Send for DictionaryMatch
impl Sync for DictionaryMatch
impl Unpin for DictionaryMatch
impl UnwindSafe for DictionaryMatch
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