Skip to main content

mint_fact

Function mint_fact 

Source
pub fn mint_fact(provenance: FactProvenance, payload: FactPayload) -> Fact
Expand description

Build a Fact with the canonical id derived from (kind, provenance, payload). The id is fact:<hex> so it doesn’t collide with the sha256: namespace other engine bytes use.