pub struct ZipEntry<'a> {
pub name: &'a str,
pub mode: u32,
pub mtime: i64,
pub sz: i64,
pub data: &'a [u8],
}Fields§
§name: &'a str§mode: u32Access permissions
mtime: i64Unixtime in seconds
sz: i64The original file size
data: &'a [u8]Implementations§
Source§impl<'a> ZipEntry<'a>
impl<'a> ZipEntry<'a>
pub fn to_sqlite(&self, con: &Transaction<'_>) -> Result<(), ZipToSqliteErr>
Auto Trait Implementations§
impl<'a> Freeze for ZipEntry<'a>
impl<'a> RefUnwindSafe for ZipEntry<'a>
impl<'a> Send for ZipEntry<'a>
impl<'a> Sync for ZipEntry<'a>
impl<'a> Unpin for ZipEntry<'a>
impl<'a> UnwindSafe for ZipEntry<'a>
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