Skip to main content

lineage_class

Function lineage_class 

Source
pub fn lineage_class(
    bool_or_enum: bool,
    inputs: impl IntoIterator<Item = ProvenanceClass>,
) -> FieldClass
Expand description

The lineage rule for values carried in a judgment (3.3.2): a boolean or enum value is enum; any other value takes the most restrictive provenance class among its lineage’s inputs, in the order attributed-claim, third-party, user-supplied, model-derived, authenticated-app-field, system-of-record; a value whose lineage has no input is plan-metadata. It never assigns a class less restrictive than an input the value may copy.