#[non_exhaustive]pub enum MediaFallback {
StockSearch,
Skip,
}Expand description
What to do when the media planner can’t match a user asset to a narration chunk.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
StockSearch
Fall back to keyword extraction + stock media search
(requires .stock_search() to be configured on the planner).
Skip
Skip the chunk — no media for that time range.
Trait Implementations§
Source§impl Clone for MediaFallback
impl Clone for MediaFallback
Source§fn clone(&self) -> MediaFallback
fn clone(&self) -> MediaFallback
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 moreSource§impl Debug for MediaFallback
impl Debug for MediaFallback
Source§impl Default for MediaFallback
impl Default for MediaFallback
Source§fn default() -> MediaFallback
fn default() -> MediaFallback
Returns the “default value” for a type. Read more
impl Copy for MediaFallback
Auto Trait Implementations§
impl Freeze for MediaFallback
impl RefUnwindSafe for MediaFallback
impl Send for MediaFallback
impl Sync for MediaFallback
impl Unpin for MediaFallback
impl UnsafeUnpin for MediaFallback
impl UnwindSafe for MediaFallback
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