pub struct AssetManifest {
pub format_version: String,
pub provider: AssetProvider,
pub asset: AssetSummary,
pub bundle: AssetBundle,
pub provider_revision: String,
pub bytes_written: u64,
pub file_blake3: BTreeMap<String, String>,
pub complete: bool,
}Expand description
Manifest stored inside each archived asset directory.
Fields§
§format_version: StringAssetForge manifest format version.
provider: AssetProviderProvider slug.
asset: AssetSummaryProvider asset metadata.
bundle: AssetBundleArchived bundle metadata.
provider_revision: StringProvider revision marker used to detect updated remote assets.
bytes_written: u64Actual downloaded bytes.
file_blake3: BTreeMap<String, String>Locally computed BLAKE3 digest keyed by bundle path.
complete: boolWhether every bundle file passed verification.
Trait Implementations§
Source§impl Clone for AssetManifest
impl Clone for AssetManifest
Source§fn clone(&self) -> AssetManifest
fn clone(&self) -> AssetManifest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AssetManifest
impl Debug for AssetManifest
Source§impl<'de> Deserialize<'de> for AssetManifest
impl<'de> Deserialize<'de> for AssetManifest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AssetManifest
impl PartialEq for AssetManifest
Source§impl Serialize for AssetManifest
impl Serialize for AssetManifest
impl StructuralPartialEq for AssetManifest
Auto Trait Implementations§
impl Freeze for AssetManifest
impl RefUnwindSafe for AssetManifest
impl Send for AssetManifest
impl Sync for AssetManifest
impl Unpin for AssetManifest
impl UnsafeUnpin for AssetManifest
impl UnwindSafe for AssetManifest
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