pub struct SyncPayload {
pub method: String,
pub inputs: Vec<SyncInput>,
pub operations: Vec<SyncOperation>,
}Expand description
JSON payload emitted under data of the top-level envelope by
subx-cli --output json sync.
The shape is uniform across single-pair and batch invocations: an
inputs array describing each subtitle that was analyzed, an
operations array describing each file that was written or
planned, and a top-level method string identifying the active
synchronization strategy.
Fields§
§method: StringActive sync method: "vad", "manual", or "auto".
inputs: Vec<SyncInput>Per-subtitle analysis results, one entry per processed input.
operations: Vec<SyncOperation>Per-subtitle write operations, one entry per planned/applied write.
Trait Implementations§
Source§impl Debug for SyncPayload
impl Debug for SyncPayload
Auto Trait Implementations§
impl Freeze for SyncPayload
impl RefUnwindSafe for SyncPayload
impl Send for SyncPayload
impl Sync for SyncPayload
impl Unpin for SyncPayload
impl UnsafeUnpin for SyncPayload
impl UnwindSafe for SyncPayload
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