pub struct SizeReport {
pub root: String,
pub tzif_files: u64,
pub symlink_links: u64,
pub other_files: u64,
pub total_bytes: u64,
pub total_tzif_bytes: u64,
pub largest_tzif: Option<TzifEntry>,
pub version_histogram: [u64; 4],
pub footer_present: u64,
pub bundle_hash: String,
pub compiler: CompilerIdentity,
}Expand description
The size report.
Fields§
§root: String§tzif_files: u64Regular files that parse as TZif (a zone or a copy-mode link — not distinguished here).
symlink_links: u64Symlink entries (alias links in symlink-mode).
other_files: u64Regular files that are not valid TZif (e.g. manifest.json, alias-map.json).
total_bytes: u64Total bytes of all regular files (the on-disk bundle size).
total_tzif_bytes: u64Total bytes of the TZif files only (the timezone payload).
largest_tzif: Option<TzifEntry>The largest TZif file (relative path, bytes), if any.
version_histogram: [u64; 4]Count of TZif files at version v1 / v2 / v3 / v4 (index 0..3).
TZif files carrying a non-empty POSIX-TZ footer.
bundle_hash: StringDeterministic bundle hash: SHA-256 over the sorted relpath\0content-hash lines of every
regular file + relpath\0symlink:<target> for each symlink (so link structure is captured).
Same tree → same hash, regardless of traversal order.
compiler: CompilerIdentityImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SizeReport
impl RefUnwindSafe for SizeReport
impl Send for SizeReport
impl Sync for SizeReport
impl Unpin for SizeReport
impl UnsafeUnpin for SizeReport
impl UnwindSafe for SizeReport
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