pub struct LinearProvenanceV0<K: ProvenanceSemiringV0> {
pub schema_version: &'static str,
pub product: &'static str,
pub layer_marker: &'static str,
pub feature_gate: &'static str,
pub semiring_identifier: &'static str,
pub semiring: K,
pub term_count: usize,
pub terms: Vec<LinearProvenanceTermV0>,
}Expand description
V0 freeze-candidate provenance contract over the existing label vector.
The shape is a strict-superset bridge for staged query provenance evidence; it does not declare Cargo 1.0 API finality or a completed QTT/sheaf model.
Fields§
§schema_version: &'static str§product: &'static str§layer_marker: &'static str§feature_gate: &'static str§semiring_identifier: &'static str§semiring: K§term_count: usize§terms: Vec<LinearProvenanceTermV0>Implementations§
Source§impl<K: ProvenanceSemiringV0> LinearProvenanceV0<K>
impl<K: ProvenanceSemiringV0> LinearProvenanceV0<K>
Source§impl LinearProvenanceV0<Lin01ProvenanceSemiringV0>
impl LinearProvenanceV0<Lin01ProvenanceSemiringV0>
pub fn from_static_labels(labels: &[&'static str]) -> Self
Source§impl LinearProvenanceV0<NaturalCountProvenanceSemiringV0>
impl LinearProvenanceV0<NaturalCountProvenanceSemiringV0>
pub fn from_static_labels(labels: &[&'static str]) -> Self
pub fn from_composed_paths(paths: &[LinearProvenancePathV0]) -> Self
Trait Implementations§
Source§impl<K: Clone + ProvenanceSemiringV0> Clone for LinearProvenanceV0<K>
impl<K: Clone + ProvenanceSemiringV0> Clone for LinearProvenanceV0<K>
Source§fn clone(&self) -> LinearProvenanceV0<K>
fn clone(&self) -> LinearProvenanceV0<K>
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<K: Debug + ProvenanceSemiringV0> Debug for LinearProvenanceV0<K>
impl<K: Debug + ProvenanceSemiringV0> Debug for LinearProvenanceV0<K>
impl<K: Eq + ProvenanceSemiringV0> Eq for LinearProvenanceV0<K>
Source§impl<K: PartialEq + ProvenanceSemiringV0> PartialEq for LinearProvenanceV0<K>
impl<K: PartialEq + ProvenanceSemiringV0> PartialEq for LinearProvenanceV0<K>
Source§fn eq(&self, other: &LinearProvenanceV0<K>) -> bool
fn eq(&self, other: &LinearProvenanceV0<K>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<K> Serialize for LinearProvenanceV0<K>where
K: Serialize + ProvenanceSemiringV0,
impl<K> Serialize for LinearProvenanceV0<K>where
K: Serialize + ProvenanceSemiringV0,
impl<K: ProvenanceSemiringV0> StructuralPartialEq for LinearProvenanceV0<K>
Auto Trait Implementations§
impl<K> Freeze for LinearProvenanceV0<K>where
K: Freeze,
impl<K> RefUnwindSafe for LinearProvenanceV0<K>where
K: RefUnwindSafe,
impl<K> Send for LinearProvenanceV0<K>where
K: Send,
impl<K> Sync for LinearProvenanceV0<K>where
K: Sync,
impl<K> Unpin for LinearProvenanceV0<K>where
K: Unpin,
impl<K> UnsafeUnpin for LinearProvenanceV0<K>where
K: UnsafeUnpin,
impl<K> UnwindSafe for LinearProvenanceV0<K>where
K: UnwindSafe,
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,
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.