Struct distill_core::ArtifactMetadata [−][src]
Serializable metadata for an artifact. Stored in .meta files and metadata DB.
Fields
id: ArtifactId
Hash that identifies this artifact
asset_id: AssetUuid
UUID for this artifact’s asset
build_deps: Vec<AssetRef>
Build dependencies will be included in the Builder arguments when building an asset
load_deps: Vec<AssetRef>
Load dependencies are guaranteed to load before this asset by the Loader
compression: CompressionType
Type of compression used to compress this artifact
compressed_size: Option<u64>
Size of this artifact in bytes when compressed
uncompressed_size: Option<u64>
Size of this artifact in bytes when serialized and uncompressed
type_id: AssetTypeId
The UUID of the artifact’s Rust type
Trait Implementations
impl Clone for ArtifactMetadata
[src]
fn clone(&self) -> ArtifactMetadata
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ArtifactMetadata
[src]
impl Default for ArtifactMetadata
[src]
fn default() -> ArtifactMetadata
[src]
impl Hash for ArtifactMetadata
[src]
Auto Trait Implementations
impl RefUnwindSafe for ArtifactMetadata
impl Send for ArtifactMetadata
impl Sync for ArtifactMetadata
impl Unpin for ArtifactMetadata
impl UnwindSafe for ArtifactMetadata
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,