pub struct DetectionOptions {
pub min_confidence: f32,
pub max_comparisons: usize,
}Expand description
Options for evolution detection.
TigerStyle: Builder pattern with validation.
Fields§
§min_confidence: f32Minimum confidence threshold to return a result.
max_comparisons: usizeMaximum number of existing entities to compare against.
Implementations§
Source§impl DetectionOptions
impl DetectionOptions
Sourcepub fn with_min_confidence(self, confidence: f32) -> Self
pub fn with_min_confidence(self, confidence: f32) -> Self
Sourcepub fn with_max_comparisons(self, max_comparisons: usize) -> Self
pub fn with_max_comparisons(self, max_comparisons: usize) -> Self
Trait Implementations§
Source§impl Clone for DetectionOptions
impl Clone for DetectionOptions
Source§fn clone(&self) -> DetectionOptions
fn clone(&self) -> DetectionOptions
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 moreSource§impl Debug for DetectionOptions
impl Debug for DetectionOptions
Auto Trait Implementations§
impl Freeze for DetectionOptions
impl RefUnwindSafe for DetectionOptions
impl Send for DetectionOptions
impl Sync for DetectionOptions
impl Unpin for DetectionOptions
impl UnwindSafe for DetectionOptions
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