DataSource#

pub enum DataSource#

A data source attached to an asset or run by name.

Variants#

Dataset(String)#
Video(String)#
Connection(String)#

Implementations#

impl DataSource
pub fn dataset(rid: impl Into<String>) -> Self#
pub fn video(rid: impl Into<String>) -> Self#
pub fn connection(rid: impl Into<String>) -> Self#
pub fn rid(&self) -> &str#

The RID of this data source, regardless of its kind.

Trait implementations#

Derived: Debug, Clone, StructuralPartialEq, PartialEq, Eq

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