pub struct AssetMetadata {
pub id: AssetUuid,
pub search_tags: Vec<(String, Option<String>)>,
pub build_pipeline: Option<AssetUuid>,
pub artifact: Option<ArtifactMetadata>,
}Expand description
Serializable metadata for an asset. Stored in .meta files and metadata DB.
Fields§
§id: AssetUuidUUID for the asset to uniquely identify it
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§
Source§impl Clone for AssetMetadata
impl Clone for AssetMetadata
Source§fn clone(&self) -> AssetMetadata
fn clone(&self) -> AssetMetadata
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 AssetMetadata
impl Debug for AssetMetadata
Source§impl Default for AssetMetadata
impl Default for AssetMetadata
Source§fn default() -> AssetMetadata
fn default() -> AssetMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AssetMetadata
impl RefUnwindSafe for AssetMetadata
impl Send for AssetMetadata
impl Sync for AssetMetadata
impl Unpin for AssetMetadata
impl UnwindSafe for AssetMetadata
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