pub struct Entry {
    pub checksum: String,
    pub uncompressed_size_bytes: u64,
    pub compressed_size_bytes: u64,
}
Expand description

A single file

Fields

checksum: String

md5sum of the file

uncompressed_size_bytes: u64

Uncompressed size in bytes. Because we have some massive files more than 2^32 bytes described by this, explicitly use u64 instead of usize, so wasm doesn’t break.

compressed_size_bytes: u64

Compressed size in bytes

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.