pub struct SyncInput {
pub subtitle_path: String,
pub audio_path: Option<String>,
pub detected_offset_ms: i64,
pub confidence: Option<f32>,
pub vad: Option<VadInfoPayload>,
pub status: &'static str,
pub error: Option<SyncItemError>,
}Expand description
One entry in SyncPayload::inputs — describes the analysis stage
for a single subtitle file.
Fields§
§subtitle_path: StringSubtitle file path that was analyzed.
audio_path: Option<String>Audio/video source used for analysis (absent for manual offsets and skipped items).
detected_offset_ms: i64Detected offset in milliseconds (positive = subtitles delayed). For manual sync this equals the user-supplied offset.
confidence: Option<f32>Detection confidence (0.0–1.0); absent for manual and skipped.
vad: Option<VadInfoPayload>VAD-specific metadata (only populated when method == "vad").
status: &'static strEither "ok" or "error".
error: Option<SyncItemError>Error metadata when status == "error".
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SyncInput
impl RefUnwindSafe for SyncInput
impl Send for SyncInput
impl Sync for SyncInput
impl Unpin for SyncInput
impl UnsafeUnpin for SyncInput
impl UnwindSafe for SyncInput
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