VideoTarget#

pub enum VideoTarget#

Where a video ingest should land. Either an existing video resource (by RID) or a new one, created atomically with the ingest.

&str / String convert to VideoTarget::Existing; VideoCreate converts to VideoTarget::New.

Variants#

Existing(String)#
New(VideoCreate)#

Trait implementations#

impl From<String> for VideoTarget
fn from(rid: String) -> Self
impl From<&str> for VideoTarget
fn from(rid: &str) -> Self
impl From<&String> for VideoTarget
fn from(rid: &String) -> Self
impl From<VideoCreate> for VideoTarget
fn from(create: VideoCreate) -> Self

Derived: Debug, Clone

Auto traits: Send, Sync, Unpin, UnwindSafe, RefUnwindSafe