pub struct LinearProvenanceV0<K>where
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> LinearProvenanceV0<K>where
K: ProvenanceSemiringV0,
impl<K> LinearProvenanceV0<K>where
K: ProvenanceSemiringV0,
Source§impl LinearProvenanceV0<Lin01ProvenanceSemiringV0>
impl LinearProvenanceV0<Lin01ProvenanceSemiringV0>
pub fn from_static_labels( labels: &[&'static str], ) -> LinearProvenanceV0<Lin01ProvenanceSemiringV0>
Source§impl LinearProvenanceV0<NaturalCountProvenanceSemiringV0>
impl LinearProvenanceV0<NaturalCountProvenanceSemiringV0>
pub fn from_static_labels( labels: &[&'static str], ) -> LinearProvenanceV0<NaturalCountProvenanceSemiringV0>
pub fn from_composed_paths( paths: &[LinearProvenancePathV0], ) -> LinearProvenanceV0<NaturalCountProvenanceSemiringV0>
Trait Implementations§
Source§impl<K> Clone for LinearProvenanceV0<K>where
K: Clone + ProvenanceSemiringV0,
impl<K> Clone for LinearProvenanceV0<K>where
K: Clone + ProvenanceSemiringV0,
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 for LinearProvenanceV0<K>where
K: Debug + ProvenanceSemiringV0,
impl<K> Debug for LinearProvenanceV0<K>where
K: Debug + ProvenanceSemiringV0,
impl<K> Eq for LinearProvenanceV0<K>where
K: Eq + ProvenanceSemiringV0,
Source§impl<K> PartialEq for LinearProvenanceV0<K>where
K: PartialEq + ProvenanceSemiringV0,
impl<K> PartialEq for LinearProvenanceV0<K>where
K: PartialEq + ProvenanceSemiringV0,
Source§impl<K> Serialize for LinearProvenanceV0<K>where
K: ProvenanceSemiringV0 + Serialize,
impl<K> Serialize for LinearProvenanceV0<K>where
K: ProvenanceSemiringV0 + Serialize,
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<K> StructuralPartialEq for LinearProvenanceV0<K>where
K: PartialEq + ProvenanceSemiringV0,
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.