pub struct DataFile {
pub name: String,
pub mime_type: String,
pub content: Vec<u8>,
}Expand description
A data file stored in the container.
Fields§
§name: StringFile name inside the archive.
mime_type: StringMedia type recorded in the manifest.
content: Vec<u8>Raw file content.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataFile
impl RefUnwindSafe for DataFile
impl Send for DataFile
impl Sync for DataFile
impl Unpin for DataFile
impl UnsafeUnpin for DataFile
impl UnwindSafe for DataFile
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