pub struct ContentTierIdentity {
pub entries: EntryTierIdentity,
pub analysis: AnalysisSet,
pub provenance: AnalyzerProvenance,
}Expand description
Identity of a content tier: the per-file analysis records a sidecar holds.
The entry tier’s identity rather than the whole snapshot’s: Include observes controls only for selection, while narrowed entry tiers carry the governing control policy in their own identity. Then the analyzer set the records were produced for, and the analyzers’ identities, versions, and options.
The type rules the records were classified under are the entry tier’s, and stated only
there: a record’s ContentProvenance is this identity’s entry-tier type rules and its
AnalyzerProvenance.
Fields§
§entries: EntryTierIdentityThe entry tier the records were analyzed over, including their type rules.
analysis: AnalysisSetThe analyzer set the tier holds records for.
provenance: AnalyzerProvenanceThe options and analyzer versions the records were produced under.
Implementations§
Source§impl ContentTierIdentity
impl ContentTierIdentity
Sourcepub fn for_request(entries: EntryTierIdentity, analysis: AnalysisSet) -> Self
pub fn for_request(entries: EntryTierIdentity, analysis: AnalysisSet) -> Self
Identity produced by this build for the requested entry tier and analyzers.
Sourcepub fn admit(&self, stored: &Self) -> Option<ContentAdmission<'_>>
pub fn admit(&self, stored: &Self) -> Option<ContentAdmission<'_>>
Admit a stored content identity and return the projection that may consume it.
Equality is the only lawful content projection today. Adding another relation requires implementing its record and tier projection here, not widening a reader.