pub struct MediaBuildOptions {
pub audio: bool,
pub vision: bool,
pub force: bool,
pub thresholds: GateThresholds,
}Expand description
Which modalities a media build should run, whether to redo work, and what
the pre-generation gate refuses.
Not Eq, because the thresholds are floats. Nothing compares two option sets
for equality; they are read, not matched.
Fields§
§audio: boolGenerate audio transcripts.
vision: boolGenerate image descriptions.
force: boolRegenerate even where a record already exists for the current producer,
replacing it in place. Without this, build is incremental: a second run
with the same producer does no work.
Also overrides the gate. Asking explicitly for a silent clip to be
transcribed is a legitimate request — to see what the model says, or
because the operator disagrees with a threshold — and a flag named
--force that quietly declined would be worse than no flag at all.
thresholds: GateThresholdsWhat the gate refuses. GateThresholds::disabled turns it off.
Implementations§
Trait Implementations§
Source§impl Clone for MediaBuildOptions
impl Clone for MediaBuildOptions
Source§fn clone(&self) -> MediaBuildOptions
fn clone(&self) -> MediaBuildOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more