pub struct CentralDirectoryFileHeader {Show 20 fields
pub signature: [u8; 4],
pub version_made_by: u16,
pub version_needed_to_extract: u16,
pub general_purpose_flags: u16,
pub compression_method: u16,
pub file_last_modification_time: u16,
pub file_last_modification_date: u16,
pub crc32_of_uncompressed_data: u32,
pub compressed_size: u32,
pub uncompressed_size: u32,
pub file_name_length: u16,
pub extra_field_length: u16,
pub file_comment_length: u16,
pub disk_number_where_file_starts: u16,
pub internal_file_attributes: u16,
pub external_file_attributes: u32,
pub relative_offset_of_local_file_header: u32,
pub file_name: String,
pub extra_field: Vec<u8>,
pub file_comment: Vec<u8>,
}
Fields§
§signature: [u8; 4]
§version_made_by: u16
§version_needed_to_extract: u16
§general_purpose_flags: u16
§compression_method: u16
§file_last_modification_time: u16
§file_last_modification_date: u16
§crc32_of_uncompressed_data: u32
§compressed_size: u32
§uncompressed_size: u32
§file_name_length: u16
§extra_field_length: u16
§file_comment_length: u16
§disk_number_where_file_starts: u16
§internal_file_attributes: u16
§external_file_attributes: u32
§relative_offset_of_local_file_header: u32
§file_name: String
§extra_field: Vec<u8>
§file_comment: Vec<u8>
Implementations§
Trait Implementations§
Source§impl Clone for CentralDirectoryFileHeader
impl Clone for CentralDirectoryFileHeader
Source§fn clone(&self) -> CentralDirectoryFileHeader
fn clone(&self) -> CentralDirectoryFileHeader
Returns a copy 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 moreSource§impl Debug for CentralDirectoryFileHeader
impl Debug for CentralDirectoryFileHeader
Source§impl From<LocalFileHeader> for CentralDirectoryFileHeader
impl From<LocalFileHeader> for CentralDirectoryFileHeader
Source§fn from(local_file_header: LocalFileHeader) -> Self
fn from(local_file_header: LocalFileHeader) -> Self
Converts to this type from the input type.
Source§impl Hash for CentralDirectoryFileHeader
impl Hash for CentralDirectoryFileHeader
Source§impl Ord for CentralDirectoryFileHeader
impl Ord for CentralDirectoryFileHeader
Source§fn cmp(&self, other: &CentralDirectoryFileHeader) -> Ordering
fn cmp(&self, other: &CentralDirectoryFileHeader) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for CentralDirectoryFileHeader
impl PartialOrd for CentralDirectoryFileHeader
impl Eq for CentralDirectoryFileHeader
impl StructuralPartialEq for CentralDirectoryFileHeader
Auto Trait Implementations§
impl Freeze for CentralDirectoryFileHeader
impl RefUnwindSafe for CentralDirectoryFileHeader
impl Send for CentralDirectoryFileHeader
impl Sync for CentralDirectoryFileHeader
impl Unpin for CentralDirectoryFileHeader
impl UnwindSafe for CentralDirectoryFileHeader
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