pub struct ContentOutput {
pub narration: String,
pub audio: Vec<u8>,
pub captions: Vec<CaptionSegment>,
pub media_segments: Vec<MediaSegment>,
pub audio_path: Option<String>,
pub video_path: Option<String>,
}Expand description
Complete pipeline output returned by ContentPipeline::process.
Fields§
§narration: StringThe narration text (after any text transforms).
audio: Vec<u8>Raw audio bytes (MP3).
captions: Vec<CaptionSegment>Word-level captions with timing data.
media_segments: Vec<MediaSegment>Visual media segments matched to the narration timeline.
audio_path: Option<String>Path where audio was stored, if an AudioStorage was configured.
video_path: Option<String>Path to the rendered video, if a VideoRenderer was configured.
Trait Implementations§
Source§impl Clone for ContentOutput
impl Clone for ContentOutput
Source§fn clone(&self) -> ContentOutput
fn clone(&self) -> ContentOutput
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 ContentOutput
impl RefUnwindSafe for ContentOutput
impl Send for ContentOutput
impl Sync for ContentOutput
impl Unpin for ContentOutput
impl UnsafeUnpin for ContentOutput
impl UnwindSafe for ContentOutput
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