pub struct SupportReport {
pub tzdb_version: Option<String>,
pub zones_parsed: usize,
pub links_parsed: usize,
pub supported_zones: Vec<String>,
pub unsupported: BTreeMap<String, Bucket>,
pub links: LinkAccounting,
}Expand description
The complete frontier map for one source file.
Fields§
§tzdb_version: Option<String>tzdb release as declared by a leading # version … comment in the source, if any.
zones_parsed: usize§links_parsed: usize§supported_zones: Vec<String>Canonical zones that compile, sorted.
unsupported: BTreeMap<String, Bucket>Unsupported canonical zones, keyed by a stable bucket label (sorted).
links: LinkAccountingImplementations§
Source§impl SupportReport
impl SupportReport
Sourcepub fn identifiers(&self) -> usize
pub fn identifiers(&self) -> usize
Total identifiers (canonical zones + links) in the source.
Sourcepub fn supported_identifiers(&self) -> usize
pub fn supported_identifiers(&self) -> usize
Identifiers that ultimately reach a compile-supported zone (supported zones + links to supported zones).
Sourcepub fn unsupported_zone_count(&self) -> usize
pub fn unsupported_zone_count(&self) -> usize
The number of unsupported zones accounted across all buckets.
Sourcepub fn is_fully_accounted(&self) -> bool
pub fn is_fully_accounted(&self) -> bool
Accounting invariant: every parsed zone is in exactly one place.
Sourcepub fn largest_bucket(&self) -> Option<(&str, usize)>
pub fn largest_bucket(&self) -> Option<(&str, usize)>
The largest unsupported bucket — the “biggest unlock” pointer — as (label, count).
Sourcepub fn to_text_explained(&self) -> String
pub fn to_text_explained(&self) -> String
As Self::to_text, plus a ↳ deep law: line under each unsupported bucket mapping it to
the zic semantic it represents (the deep_semantic audit map — see
docs/zic-deep-semantics.md). Used by support-report --explain-buckets.