pub struct ReplayDataIdentity {
pub requirement_key: String,
pub schema_fingerprint: String,
pub plan_fingerprint: String,
pub relation_fingerprint: String,
pub data_content_fingerprint: String,
pub target_content_fingerprint: Option<String>,
pub identity_fingerprint: String,
}Expand description
Content identity for one external replay input.
This is intentionally distinct from [TrainingDataIdentity]. Training
requires a target-content proof because it scores and selects models;
PREDICT and EXPLAIN operate on a new, often unlabeled cohort and therefore
attest only the feature content and relation authority. A target proof is
retained when the caller supplies one (for example calibration evidence),
but absence is never represented by a sentinel digest.
Fields§
§requirement_key: String§schema_fingerprint: String§plan_fingerprint: String§relation_fingerprint: String§data_content_fingerprint: String§target_content_fingerprint: Option<String>§identity_fingerprint: StringImplementations§
Source§impl ReplayDataIdentity
impl ReplayDataIdentity
Sourcepub fn compute_fingerprint(&self) -> Result<String, DagMlError>
pub fn compute_fingerprint(&self) -> Result<String, DagMlError>
Compute the strict TCV1 identity fingerprint used by the portable replay outcome.
Trait Implementations§
Source§impl Clone for ReplayDataIdentity
impl Clone for ReplayDataIdentity
Source§fn clone(&self) -> ReplayDataIdentity
fn clone(&self) -> ReplayDataIdentity
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 ReplayDataIdentity
impl Debug for ReplayDataIdentity
Source§impl<'de> Deserialize<'de> for ReplayDataIdentity
impl<'de> Deserialize<'de> for ReplayDataIdentity
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ReplayDataIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ReplayDataIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ReplayDataIdentity
Source§impl PartialEq for ReplayDataIdentity
impl PartialEq for ReplayDataIdentity
Source§impl Serialize for ReplayDataIdentity
impl Serialize for ReplayDataIdentity
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ReplayDataIdentity
Auto Trait Implementations§
impl Freeze for ReplayDataIdentity
impl RefUnwindSafe for ReplayDataIdentity
impl Send for ReplayDataIdentity
impl Sync for ReplayDataIdentity
impl Unpin for ReplayDataIdentity
impl UnsafeUnpin for ReplayDataIdentity
impl UnwindSafe for ReplayDataIdentity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.