pub struct PredictionProvenanceV4 { /* private fields */ }Expand description
File-scoped V4 provenance binding profile facts V2, settings V3, and raw inventory.
Implementations§
Source§impl PredictionProvenanceV4
impl PredictionProvenanceV4
Sourcepub fn new(
profile: ResolvedEngineProfileV2,
source_format: SourceFormatV1,
settings: ResolvedEngineSettingsV3,
raw_source: RawSourceBindingV2,
raw_scene_attachment: RawSceneAttachmentBindingV1,
dependency_closure: DependencyClosureV1,
rule_inputs: PredictionRuleInputsV1,
) -> Result<Self, PredictionContractError>
pub fn new( profile: ResolvedEngineProfileV2, source_format: SourceFormatV1, settings: ResolvedEngineSettingsV3, raw_source: RawSourceBindingV2, raw_scene_attachment: RawSceneAttachmentBindingV1, dependency_closure: DependencyClosureV1, rule_inputs: PredictionRuleInputsV1, ) -> Result<Self, PredictionContractError>
Bind exact V2/V3 engine authority and same-load raw evidence.
Sourcepub const fn contract_id(&self) -> &'static str
pub const fn contract_id(&self) -> &'static str
Immutable contract id.
Sourcepub const fn identity(&self) -> &PredictionProvenanceIdentityV4
pub const fn identity(&self) -> &PredictionProvenanceIdentityV4
Canonical V4 identity.
Sourcepub const fn profile(&self) -> &ResolvedEngineProfileV2
pub const fn profile(&self) -> &ResolvedEngineProfileV2
Exact V2 profile.
Sourcepub const fn source_format(&self) -> SourceFormatV1
pub const fn source_format(&self) -> SourceFormatV1
Source format.
Sourcepub const fn settings(&self) -> &ResolvedEngineSettingsV3
pub const fn settings(&self) -> &ResolvedEngineSettingsV3
Origin-bearing V3 settings.
Sourcepub const fn raw_source(&self) -> &RawSourceBindingV2
pub const fn raw_source(&self) -> &RawSourceBindingV2
Existing same-load raw facts/timing.
Sourcepub const fn raw_scene_attachment(&self) -> &RawSceneAttachmentBindingV1
pub const fn raw_scene_attachment(&self) -> &RawSceneAttachmentBindingV1
Exact raw scene inventory or typed absence.
Sourcepub const fn dependency_closure(&self) -> &DependencyClosureV1
pub const fn dependency_closure(&self) -> &DependencyClosureV1
Same-load dependency closure.
Sourcepub const fn rule_inputs(&self) -> &PredictionRuleInputsV1
pub const fn rule_inputs(&self) -> &PredictionRuleInputsV1
Complete normalized rule-input declaration used to derive facet demand.
Sourcepub fn validate(&self) -> Result<(), PredictionContractError>
pub fn validate(&self) -> Result<(), PredictionContractError>
Validate identities, bounds, and primary-input correlation.
Trait Implementations§
Source§impl Clone for PredictionProvenanceV4
impl Clone for PredictionProvenanceV4
Source§fn clone(&self) -> PredictionProvenanceV4
fn clone(&self) -> PredictionProvenanceV4
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PredictionProvenanceV4
impl Debug for PredictionProvenanceV4
Source§impl<'de> Deserialize<'de> for PredictionProvenanceV4
impl<'de> Deserialize<'de> for PredictionProvenanceV4
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PredictionProvenanceV4
Source§impl PartialEq for PredictionProvenanceV4
impl PartialEq for PredictionProvenanceV4
Source§impl Serialize for PredictionProvenanceV4
impl Serialize for PredictionProvenanceV4
impl StructuralPartialEq for PredictionProvenanceV4
Auto Trait Implementations§
impl Freeze for PredictionProvenanceV4
impl RefUnwindSafe for PredictionProvenanceV4
impl Send for PredictionProvenanceV4
impl Sync for PredictionProvenanceV4
impl Unpin for PredictionProvenanceV4
impl UnsafeUnpin for PredictionProvenanceV4
impl UnwindSafe for PredictionProvenanceV4
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more