Struct distill_core::AssetMetadata[][src]

pub struct AssetMetadata {
    pub id: AssetUuid,
    pub search_tags: Vec<(String, Option<String>)>,
    pub build_pipeline: Option<AssetUuid>,
    pub artifact: Option<ArtifactMetadata>,
}

Serializable metadata for an asset. Stored in .meta files and metadata DB.

Fields

id: AssetUuid

UUID for the asset to uniquely identify it

search_tags: Vec<(String, Option<String>)>

Search tags are used by asset tooling to search for the imported asset

build_pipeline: Option<AssetUuid>

The referenced build pipeline is invoked when a build artifact is requested for the imported asset

artifact: Option<ArtifactMetadata>

The latest artifact produced when importing this asset

Trait Implementations

impl Clone for AssetMetadata[src]

impl Debug for AssetMetadata[src]

impl Default for AssetMetadata[src]

impl Hash for AssetMetadata[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.