pub struct FileHeader {Show 24 fields
pub crc: u16,
pub header_type: u8,
pub flags: u16,
pub head_size: u16,
pub packed_size: u64,
pub unpacked_size: u64,
pub host_os: u8,
pub file_crc: u32,
pub timestamp: u32,
pub version: u8,
pub method: u8,
pub name_size: u16,
pub attributes: u32,
pub name: String,
pub continues_from_previous: bool,
pub continues_in_next: bool,
pub is_encrypted: bool,
pub has_comment: bool,
pub has_info_from_previous: bool,
pub has_high_size: bool,
pub has_special_name: bool,
pub has_salt: bool,
pub is_old_version: bool,
pub has_extended_time: bool,
}Fields§
§crc: u16§header_type: u8§flags: u16§head_size: u16§packed_size: u64§unpacked_size: u64§host_os: u8§file_crc: u32§timestamp: u32§version: u8§method: u8§name_size: u16§attributes: u32§name: String§continues_from_previous: bool§continues_in_next: bool§is_encrypted: bool§has_comment: bool§has_info_from_previous: bool§has_high_size: bool§has_special_name: bool§has_salt: bool§is_old_version: bool§has_extended_time: boolTrait Implementations§
Source§impl Clone for FileHeader
impl Clone for FileHeader
Source§fn clone(&self) -> FileHeader
fn clone(&self) -> FileHeader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FileHeader
impl RefUnwindSafe for FileHeader
impl Send for FileHeader
impl Sync for FileHeader
impl Unpin for FileHeader
impl UnwindSafe for FileHeader
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