pub struct PredictionProvenanceV5 { /* private fields */ }Expand description
Successor provenance which binds V4 authority to the raw track inventory.
The V4 record remains nested and immutable. V5 only adds the source rows that V4 intentionally did not serialize, so later readers can reconstruct the engine-track-support candidate sequence.
Implementations§
Source§impl PredictionProvenanceV5
impl PredictionProvenanceV5
Sourcepub fn new(
base: PredictionProvenanceV4,
raw_animation_channels: RawAnimationChannelInventoryV1,
) -> Result<Self, PredictionContractError>
pub fn new( base: PredictionProvenanceV4, raw_animation_channels: RawAnimationChannelInventoryV1, ) -> Result<Self, PredictionContractError>
Bind one immutable V4 record to its same-load raw track inventory.
Sourcepub fn contract_id(&self) -> &str
pub fn contract_id(&self) -> &str
Immutable V5 contract id.
Sourcepub const fn identity(&self) -> &PredictionProvenanceIdentityV5
pub const fn identity(&self) -> &PredictionProvenanceIdentityV5
Canonical V5 identity.
Sourcepub const fn base(&self) -> &PredictionProvenanceV4
pub const fn base(&self) -> &PredictionProvenanceV4
Immutable V4 authority retained without reinterpretation.
Sourcepub const fn raw_animation_channels(&self) -> &RawAnimationChannelInventoryV1
pub const fn raw_animation_channels(&self) -> &RawAnimationChannelInventoryV1
Same-load, index-only raw animation/channel inventory.
Sourcepub fn validate(&self) -> Result<(), PredictionContractError>
pub fn validate(&self) -> Result<(), PredictionContractError>
Validate V5’s immutable links and identity.
Trait Implementations§
Source§impl Clone for PredictionProvenanceV5
impl Clone for PredictionProvenanceV5
Source§fn clone(&self) -> PredictionProvenanceV5
fn clone(&self) -> PredictionProvenanceV5
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 PredictionProvenanceV5
impl Debug for PredictionProvenanceV5
Source§impl<'de> Deserialize<'de> for PredictionProvenanceV5
impl<'de> Deserialize<'de> for PredictionProvenanceV5
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 PredictionProvenanceV5
Source§impl PartialEq for PredictionProvenanceV5
impl PartialEq for PredictionProvenanceV5
Source§impl Serialize for PredictionProvenanceV5
impl Serialize for PredictionProvenanceV5
impl StructuralPartialEq for PredictionProvenanceV5
Auto Trait Implementations§
impl Freeze for PredictionProvenanceV5
impl RefUnwindSafe for PredictionProvenanceV5
impl Send for PredictionProvenanceV5
impl Sync for PredictionProvenanceV5
impl Unpin for PredictionProvenanceV5
impl UnsafeUnpin for PredictionProvenanceV5
impl UnwindSafe for PredictionProvenanceV5
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