Debian Codegraph @

src/spec/header.rs

raw symbols SCIP
1 // Copyright (c) 2021 Harry [Majored] [[email protected]]
2 // MIT License (https://github.com/Majored/rs-async-zip/blob/main/LICENSE)
3
4 // https://github.com/Majored/rs-async-zip/blob/main/SPECIFICATION.md#437
5 pub struct LocalFileHeaderrust-analyzer cargo async_zip 0.0.18 spec/header/LocalFileHeader# {
6 pub versionrust-analyzer cargo async_zip 0.0.18 spec/header/LocalFileHeader#version.: u16,
7 pub flagsrust-analyzer cargo async_zip 0.0.18 spec/header/LocalFileHeader#flags.: GeneralPurposeFlagrust-analyzer cargo async_zip 0.0.18 spec/header/GeneralPurposeFlag#,
8 pub compressionrust-analyzer cargo async_zip 0.0.18 spec/header/LocalFileHeader#compression.: u16,
9 pub mod_timerust-analyzer cargo async_zip 0.0.18 spec/header/LocalFileHeader#mod_time.: u16,
10 pub mod_daterust-analyzer cargo async_zip 0.0.18 spec/header/LocalFileHeader#mod_date.: u16,
11 pub crcrust-analyzer cargo async_zip 0.0.18 spec/header/LocalFileHeader#crc.: u32,
12 pub compressed_sizerust-analyzer cargo async_zip 0.0.18 spec/header/LocalFileHeader#compressed_size.: u32,
13 pub uncompressed_sizerust-analyzer cargo async_zip 0.0.18 spec/header/LocalFileHeader#uncompressed_size.: u32,
14 pub file_name_lengthrust-analyzer cargo async_zip 0.0.18 spec/header/LocalFileHeader#file_name_length.: u16,
15 pub extra_field_lengthrust-analyzer cargo async_zip 0.0.18 spec/header/LocalFileHeader#extra_field_length.: u16,
16 }
17
18 // https://github.com/Majored/rs-async-zip/blob/main/SPECIFICATION.md#444
19 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:)]
20 pub struct GeneralPurposeFlagrust-analyzer cargo async_zip 0.0.18 spec/header/GeneralPurposeFlag# {
21 pub encryptedrust-analyzer cargo async_zip 0.0.18 spec/header/GeneralPurposeFlag#encrypted.: bool,
22 pub data_descriptorrust-analyzer cargo async_zip 0.0.18 spec/header/GeneralPurposeFlag#data_descriptor.: bool,
23 pub filename_unicoderust-analyzer cargo async_zip 0.0.18 spec/header/GeneralPurposeFlag#filename_unicode.: bool,
24 }
25
26 /// 2 byte header ids
27 /// Ref https://github.com/Majored/rs-async-zip/blob/main/SPECIFICATION.md#452
28 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:, Hashrust-analyzer cargo core https://github.com/rust-lang/rust/library/core hash/macros/Hash:)]
29 pub struct HeaderIdrust-analyzer cargo async_zip 0.0.18 spec/header/HeaderId#(pub u16);
30
31 impl HeaderIdrust-analyzer cargo async_zip 0.0.18 spec/header/HeaderId# {
32 pub const ZIP64_EXTENDED_INFORMATION_EXTRA_FIELDrust-analyzer cargo async_zip 0.0.18 spec/header/impl#[HeaderId]ZIP64_EXTENDED_INFORMATION_EXTRA_FIELD.: HeaderIdrust-analyzer cargo async_zip 0.0.18 spec/header/HeaderId# = HeaderIdrust-analyzer cargo async_zip 0.0.18 spec/header/HeaderId#(0x0001);
33 pub const INFO_ZIP_UNICODE_COMMENT_EXTRA_FIELDrust-analyzer cargo async_zip 0.0.18 spec/header/impl#[HeaderId]INFO_ZIP_UNICODE_COMMENT_EXTRA_FIELD.: HeaderIdrust-analyzer cargo async_zip 0.0.18 spec/header/HeaderId# = HeaderIdrust-analyzer cargo async_zip 0.0.18 spec/header/HeaderId#(0x6375);
34 pub const INFO_ZIP_UNICODE_PATH_EXTRA_FIELDrust-analyzer cargo async_zip 0.0.18 spec/header/impl#[HeaderId]INFO_ZIP_UNICODE_PATH_EXTRA_FIELD.: HeaderIdrust-analyzer cargo async_zip 0.0.18 spec/header/HeaderId# = HeaderIdrust-analyzer cargo async_zip 0.0.18 spec/header/HeaderId#(0x7075);
35 }
36
37 impl Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<u16> for HeaderIdrust-analyzer cargo async_zip 0.0.18 spec/header/HeaderId# {
38 fn fromrust-analyzer cargo async_zip 0.0.18 spec/header/impl#[HeaderId][`From<u16>`]from().(value: u16) -> Selfrust-analyzer cargo async_zip 0.0.18 spec/header/impl#[HeaderId][`From<u16>`] {
39 HeaderIdrust-analyzer cargo async_zip 0.0.18 spec/header/HeaderId#(value)
40 }
41 }
42
43 impl Fromrust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/From#<HeaderIdrust-analyzer cargo async_zip 0.0.18 spec/header/HeaderId#> for u16 {
44 fn fromrust-analyzer cargo async_zip 0.0.18 spec/header/impl#[u16][`From<HeaderId>`]from().(value: HeaderIdrust-analyzer cargo async_zip 0.0.18 spec/header/HeaderId#) -> Selfrust-analyzer cargo async_zip 0.0.18 spec/header/impl#[u16][`From<HeaderId>`] {
45 value.0rust-analyzer cargo async_zip 0.0.18 spec/header/HeaderId#0.
46 }
47 }
48
49 /// Represents each extra field.
50 /// Not strictly part of the spec, but is the most useful way to represent the data.
51 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:)]
52 #[non_exhaustive]
53 pub enum ExtraFieldrust-analyzer cargo async_zip 0.0.18 spec/header/ExtraField# {
54 Zip64ExtendedInformationrust-analyzer cargo async_zip 0.0.18 spec/header/ExtraField#Zip64ExtendedInformation#(Zip64ExtendedInformationExtraFieldrust-analyzer cargo async_zip 0.0.18 spec/header/Zip64ExtendedInformationExtraField#),
55 InfoZipUnicodeCommentrust-analyzer cargo async_zip 0.0.18 spec/header/ExtraField#InfoZipUnicodeComment#(InfoZipUnicodeCommentExtraFieldrust-analyzer cargo async_zip 0.0.18 spec/header/InfoZipUnicodeCommentExtraField#),
56 InfoZipUnicodePathrust-analyzer cargo async_zip 0.0.18 spec/header/ExtraField#InfoZipUnicodePath#(InfoZipUnicodePathExtraFieldrust-analyzer cargo async_zip 0.0.18 spec/header/InfoZipUnicodePathExtraField#),
57 Unknownrust-analyzer cargo async_zip 0.0.18 spec/header/ExtraField#Unknown#(UnknownExtraFieldrust-analyzer cargo async_zip 0.0.18 spec/header/UnknownExtraField#),
58 }
59
60 /// An extended information header for Zip64.
61 /// This field is used both for local file headers and central directory records.
62 /// https://github.com/Majored/rs-async-zip/blob/main/SPECIFICATION.md#453
63 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:)]
64 pub struct Zip64ExtendedInformationExtraFieldrust-analyzer cargo async_zip 0.0.18 spec/header/Zip64ExtendedInformationExtraField# {
65 pub header_idrust-analyzer cargo async_zip 0.0.18 spec/header/Zip64ExtendedInformationExtraField#header_id.: HeaderIdrust-analyzer cargo async_zip 0.0.18 spec/header/HeaderId#,
66 pub uncompressed_sizerust-analyzer cargo async_zip 0.0.18 spec/header/Zip64ExtendedInformationExtraField#uncompressed_size.: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<u64>,
67 pub compressed_sizerust-analyzer cargo async_zip 0.0.18 spec/header/Zip64ExtendedInformationExtraField#compressed_size.: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<u64>,
68 // While not specified in the spec, these two fields are often left out in practice.
69 pub relative_header_offsetrust-analyzer cargo async_zip 0.0.18 spec/header/Zip64ExtendedInformationExtraField#relative_header_offset.: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<u64>,
70 pub disk_start_numberrust-analyzer cargo async_zip 0.0.18 spec/header/Zip64ExtendedInformationExtraField#disk_start_number.: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<u32>,
71 }
72
73 impl Zip64ExtendedInformationExtraFieldrust-analyzer cargo async_zip 0.0.18 spec/header/Zip64ExtendedInformationExtraField# {
74 pub(craterust-analyzer cargo async_zip 0.0.18 crate/) fn content_sizerust-analyzer cargo async_zip 0.0.18 spec/header/impl#[Zip64ExtendedInformationExtraField]content_size().(&self) -> usize {
75 self.uncompressed_sizerust-analyzer cargo async_zip 0.0.18 spec/header/Zip64ExtendedInformationExtraField#uncompressed_size..maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]map().(|_| 8).unwrap_or_defaultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or_default().()
76 +rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().self.compressed_sizerust-analyzer cargo async_zip 0.0.18 spec/header/Zip64ExtendedInformationExtraField#compressed_size..maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]map().(|_| 8).unwrap_or_defaultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or_default().()
77 +rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().self.relative_header_offsetrust-analyzer cargo async_zip 0.0.18 spec/header/Zip64ExtendedInformationExtraField#relative_header_offset..maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]map().(|_| 8).unwrap_or_defaultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or_default().()
78 +rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().self.disk_start_numberrust-analyzer cargo async_zip 0.0.18 spec/header/Zip64ExtendedInformationExtraField#disk_start_number..maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]map().(|_| 8).unwrap_or_defaultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or_default().()
79 }
80 }
81
82 /// Stores the UTF-8 version of the file comment as stored in the central directory header.
83 /// https://github.com/Majored/rs-async-zip/blob/main/SPECIFICATION.md#468
84 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:)]
85 pub enum InfoZipUnicodeCommentExtraFieldrust-analyzer cargo async_zip 0.0.18 spec/header/InfoZipUnicodeCommentExtraField# {
86 V1rust-analyzer cargo async_zip 0.0.18 spec/header/InfoZipUnicodeCommentExtraField#V1# { crc32rust-analyzer cargo async_zip 0.0.18 spec/header/InfoZipUnicodeCommentExtraField#V1#crc32.: u32, unicoderust-analyzer cargo async_zip 0.0.18 spec/header/InfoZipUnicodeCommentExtraField#V1#unicode.: Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<u8> },
87 Unknownrust-analyzer cargo async_zip 0.0.18 spec/header/InfoZipUnicodeCommentExtraField#Unknown# { versionrust-analyzer cargo async_zip 0.0.18 spec/header/InfoZipUnicodeCommentExtraField#Unknown#version.: u8, datarust-analyzer cargo async_zip 0.0.18 spec/header/InfoZipUnicodeCommentExtraField#Unknown#data.: Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<u8> },
88 }
89
90 /// Stores the UTF-8 version of the file name field as stored in the local header and central directory header.
91 /// https://github.com/Majored/rs-async-zip/blob/main/SPECIFICATION.md#469
92 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:)]
93 pub enum InfoZipUnicodePathExtraFieldrust-analyzer cargo async_zip 0.0.18 spec/header/InfoZipUnicodePathExtraField# {
94 V1rust-analyzer cargo async_zip 0.0.18 spec/header/InfoZipUnicodePathExtraField#V1# { crc32rust-analyzer cargo async_zip 0.0.18 spec/header/InfoZipUnicodePathExtraField#V1#crc32.: u32, unicoderust-analyzer cargo async_zip 0.0.18 spec/header/InfoZipUnicodePathExtraField#V1#unicode.: Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<u8> },
95 Unknownrust-analyzer cargo async_zip 0.0.18 spec/header/InfoZipUnicodePathExtraField#Unknown# { versionrust-analyzer cargo async_zip 0.0.18 spec/header/InfoZipUnicodePathExtraField#Unknown#version.: u8, datarust-analyzer cargo async_zip 0.0.18 spec/header/InfoZipUnicodePathExtraField#Unknown#data.: Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<u8> },
96 }
97
98 /// Represents any unparsed extra field.
99 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:)]
100 pub struct UnknownExtraFieldrust-analyzer cargo async_zip 0.0.18 spec/header/UnknownExtraField# {
101 pub header_idrust-analyzer cargo async_zip 0.0.18 spec/header/UnknownExtraField#header_id.: HeaderIdrust-analyzer cargo async_zip 0.0.18 spec/header/HeaderId#,
102 pub data_sizerust-analyzer cargo async_zip 0.0.18 spec/header/UnknownExtraField#data_size.: u16,
103 pub contentrust-analyzer cargo async_zip 0.0.18 spec/header/UnknownExtraField#content.: Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<u8>,
104 }
105
106 // https://github.com/Majored/rs-async-zip/blob/main/SPECIFICATION.md#4312
107 pub struct CentralDirectoryRecordrust-analyzer cargo async_zip 0.0.18 spec/header/CentralDirectoryRecord# {
108 pub v_made_byrust-analyzer cargo async_zip 0.0.18 spec/header/CentralDirectoryRecord#v_made_by.: u16,
109 pub v_neededrust-analyzer cargo async_zip 0.0.18 spec/header/CentralDirectoryRecord#v_needed.: u16,
110 pub flagsrust-analyzer cargo async_zip 0.0.18 spec/header/CentralDirectoryRecord#flags.: GeneralPurposeFlagrust-analyzer cargo async_zip 0.0.18 spec/header/GeneralPurposeFlag#,
111 pub compressionrust-analyzer cargo async_zip 0.0.18 spec/header/CentralDirectoryRecord#compression.: u16,
112 pub mod_timerust-analyzer cargo async_zip 0.0.18 spec/header/CentralDirectoryRecord#mod_time.: u16,
113 pub mod_daterust-analyzer cargo async_zip 0.0.18 spec/header/CentralDirectoryRecord#mod_date.: u16,
114 pub crcrust-analyzer cargo async_zip 0.0.18 spec/header/CentralDirectoryRecord#crc.: u32,
115 pub compressed_sizerust-analyzer cargo async_zip 0.0.18 spec/header/CentralDirectoryRecord#compressed_size.: u32,
116 pub uncompressed_sizerust-analyzer cargo async_zip 0.0.18 spec/header/CentralDirectoryRecord#uncompressed_size.: u32,
117 pub file_name_lengthrust-analyzer cargo async_zip 0.0.18 spec/header/CentralDirectoryRecord#file_name_length.: u16,
118 pub extra_field_lengthrust-analyzer cargo async_zip 0.0.18 spec/header/CentralDirectoryRecord#extra_field_length.: u16,
119 pub file_comment_lengthrust-analyzer cargo async_zip 0.0.18 spec/header/CentralDirectoryRecord#file_comment_length.: u16,
120 pub disk_startrust-analyzer cargo async_zip 0.0.18 spec/header/CentralDirectoryRecord#disk_start.: u16,
121 pub inter_attrrust-analyzer cargo async_zip 0.0.18 spec/header/CentralDirectoryRecord#inter_attr.: u16,
122 pub exter_attrrust-analyzer cargo async_zip 0.0.18 spec/header/CentralDirectoryRecord#exter_attr.: u32,
123 pub lh_offsetrust-analyzer cargo async_zip 0.0.18 spec/header/CentralDirectoryRecord#lh_offset.: u32,
124 }
125
126 // https://github.com/Majored/rs-async-zip/blob/main/SPECIFICATION.md#4316
127 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:)]
128 pub struct EndOfCentralDirectoryHeaderrust-analyzer cargo async_zip 0.0.18 spec/header/EndOfCentralDirectoryHeader# {
129 pub(craterust-analyzer cargo async_zip 0.0.18 crate/) disk_numrust-analyzer cargo async_zip 0.0.18 spec/header/EndOfCentralDirectoryHeader#disk_num.: u16,
130 pub(craterust-analyzer cargo async_zip 0.0.18 crate/) start_cent_dir_diskrust-analyzer cargo async_zip 0.0.18 spec/header/EndOfCentralDirectoryHeader#start_cent_dir_disk.: u16,
131 pub(craterust-analyzer cargo async_zip 0.0.18 crate/) num_of_entries_diskrust-analyzer cargo async_zip 0.0.18 spec/header/EndOfCentralDirectoryHeader#num_of_entries_disk.: u16,
132 pub(craterust-analyzer cargo async_zip 0.0.18 crate/) num_of_entriesrust-analyzer cargo async_zip 0.0.18 spec/header/EndOfCentralDirectoryHeader#num_of_entries.: u16,
133 pub(craterust-analyzer cargo async_zip 0.0.18 crate/) size_cent_dirrust-analyzer cargo async_zip 0.0.18 spec/header/EndOfCentralDirectoryHeader#size_cent_dir.: u32,
134 pub(craterust-analyzer cargo async_zip 0.0.18 crate/) cent_dir_offsetrust-analyzer cargo async_zip 0.0.18 spec/header/EndOfCentralDirectoryHeader#cent_dir_offset.: u32,
135 pub(craterust-analyzer cargo async_zip 0.0.18 crate/) file_comm_lengthrust-analyzer cargo async_zip 0.0.18 spec/header/EndOfCentralDirectoryHeader#file_comm_length.: u16,
136 }
137
138 // https://github.com/Majored/rs-async-zip/blob/main/SPECIFICATION.md#4314
139 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:)]
140 pub struct Zip64EndOfCentralDirectoryRecordrust-analyzer cargo async_zip 0.0.18 spec/header/Zip64EndOfCentralDirectoryRecord# {
141 /// The size of this Zip64EndOfCentralDirectoryRecord.
142 /// This is specified because there is a variable-length extra zip64 information sector.
143 /// However, we will gleefully ignore this sector because it is reserved for use by PKWare.
144 pub size_of_zip64_end_of_cd_recordrust-analyzer cargo async_zip 0.0.18 spec/header/Zip64EndOfCentralDirectoryRecord#size_of_zip64_end_of_cd_record.: u64,
145 pub version_made_byrust-analyzer cargo async_zip 0.0.18 spec/header/Zip64EndOfCentralDirectoryRecord#version_made_by.: u16,
146 pub version_needed_to_extractrust-analyzer cargo async_zip 0.0.18 spec/header/Zip64EndOfCentralDirectoryRecord#version_needed_to_extract.: u16,
147 pub disk_numberrust-analyzer cargo async_zip 0.0.18 spec/header/Zip64EndOfCentralDirectoryRecord#disk_number.: u32,
148 pub disk_number_start_of_cdrust-analyzer cargo async_zip 0.0.18 spec/header/Zip64EndOfCentralDirectoryRecord#disk_number_start_of_cd.: u32,
149 pub num_entries_in_directory_on_diskrust-analyzer cargo async_zip 0.0.18 spec/header/Zip64EndOfCentralDirectoryRecord#num_entries_in_directory_on_disk.: u64,
150 pub num_entries_in_directoryrust-analyzer cargo async_zip 0.0.18 spec/header/Zip64EndOfCentralDirectoryRecord#num_entries_in_directory.: u64,
151 pub directory_sizerust-analyzer cargo async_zip 0.0.18 spec/header/Zip64EndOfCentralDirectoryRecord#directory_size.: u64,
152 pub offset_of_start_of_directoryrust-analyzer cargo async_zip 0.0.18 spec/header/Zip64EndOfCentralDirectoryRecord#offset_of_start_of_directory.: u64,
153 }
154
155 // https://github.com/Majored/rs-async-zip/blob/main/SPECIFICATION.md#4315
156 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:)]
157 pub struct Zip64EndOfCentralDirectoryLocatorrust-analyzer cargo async_zip 0.0.18 spec/header/Zip64EndOfCentralDirectoryLocator# {
158 pub number_of_disk_with_start_of_zip64_end_of_central_directoryrust-analyzer cargo async_zip 0.0.18 spec/header/Zip64EndOfCentralDirectoryLocator#number_of_disk_with_start_of_zip64_end_of_central_directory.: u32,
159 pub relative_offsetrust-analyzer cargo async_zip 0.0.18 spec/header/Zip64EndOfCentralDirectoryLocator#relative_offset.: u64,
160 pub total_number_of_disksrust-analyzer cargo async_zip 0.0.18 spec/header/Zip64EndOfCentralDirectoryLocator#total_number_of_disks.: u32,
161 }