pub struct MatchConfig {
pub confidence_threshold: f32,
pub max_sample_length: usize,
pub enable_content_analysis: bool,
pub backup_enabled: bool,
pub relocation_mode: FileRelocationMode,
pub conflict_resolution: ConflictResolution,
pub ai_model: String,
}Expand description
Configuration settings for the file matching engine.
Controls various aspects of the subtitle-to-video matching process, including confidence thresholds and analysis options.
Fields§
§confidence_threshold: f32Minimum confidence score required for a successful match (0.0 to 1.0)
max_sample_length: usizeMaximum number of characters to sample from subtitle content
enable_content_analysis: boolWhether to enable advanced content analysis for matching
backup_enabled: boolWhether to create backup files before operations
relocation_mode: FileRelocationModeFile relocation mode
conflict_resolution: ConflictResolutionStrategy for handling filename conflicts during relocation
ai_model: StringAI model name used for analysis
Trait Implementations§
Source§impl Clone for MatchConfig
impl Clone for MatchConfig
Source§fn clone(&self) -> MatchConfig
fn clone(&self) -> MatchConfig
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 MatchConfig
impl RefUnwindSafe for MatchConfig
impl Send for MatchConfig
impl Sync for MatchConfig
impl Unpin for MatchConfig
impl UnwindSafe for MatchConfig
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