Struct distill_importer::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, Global>
Build dependencies will be included in the Builder arguments when building an asset
load_deps: Vec<AssetRef, Global>
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]
pub 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]
pub fn default() -> ArtifactMetadata
[src]
impl<'de> Deserialize<'de> for ArtifactMetadata
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ArtifactMetadata, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<ArtifactMetadata, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Hash for ArtifactMetadata
[src]
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Serialize for ArtifactMetadata
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Auto Trait Implementations
impl RefUnwindSafe for ArtifactMetadata
[src]
impl Send for ArtifactMetadata
[src]
impl Sync for ArtifactMetadata
[src]
impl Unpin for ArtifactMetadata
[src]
impl UnwindSafe for ArtifactMetadata
[src]
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
T: Serialize + ?Sized,
pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
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>,