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§
Source§impl<'de> Deserialize<'de> for Entry
impl<'de> Deserialize<'de> for Entry
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
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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