pub struct SyncResult {
pub offset_seconds: f32,
pub confidence: f32,
pub method_used: SyncMethod,
pub correlation_peak: f32,
pub additional_info: Option<Value>,
pub processing_duration: Duration,
pub warnings: Vec<String>,
}Expand description
Synchronization result structure.
Contains the complete results of subtitle synchronization analysis, including calculated offset, confidence metrics, and processing metadata.
Fields§
§offset_seconds: f32Calculated time offset in seconds
confidence: f32Confidence level of the detection (0.0-1.0)
method_used: SyncMethodSynchronization method that was used
correlation_peak: f32Peak correlation value from analysis
additional_info: Option<Value>Additional method-specific information
processing_duration: DurationTime taken to complete the analysis
warnings: Vec<String>Any warnings generated during processing
Trait Implementations§
Source§impl Clone for SyncResult
impl Clone for SyncResult
Source§fn clone(&self) -> SyncResult
fn clone(&self) -> SyncResult
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 SyncResult
impl RefUnwindSafe for SyncResult
impl Send for SyncResult
impl Sync for SyncResult
impl Unpin for SyncResult
impl UnwindSafe for SyncResult
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