structured_asn1/source.rs
1//! Stable source identity, independent of a format or acquisition mechanism.
2
3/// Original document identity and the exact immutable view generation.
4/// A generation change invalidates earlier source-derived evidence.
5#[derive(Debug, Clone, Copy, PartialEq, Eq)]
6pub struct Snapshot<D, G> {
7 /// Stable identity supplied by the source owner, not a fingerprint.
8 pub document: D,
9 /// Generation under which source ranges and evidence were obtained.
10 pub generation: G,
11}