pub struct ProvenanceEntry {
pub derived: (String, Vec<Value>),
pub premises: Vec<(String, Vec<Value>)>,
}Expand description
A record of one derivation: which fact was derived and which premises were used.
Fields§
§derived: (String, Vec<Value>)The derived fact: (relation_name, tuple).
premises: Vec<(String, Vec<Value>)>The premise facts that contributed: (relation_name, tuple) for each.
Trait Implementations§
Source§impl Clone for ProvenanceEntry
impl Clone for ProvenanceEntry
Source§fn clone(&self) -> ProvenanceEntry
fn clone(&self) -> ProvenanceEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProvenanceEntry
impl RefUnwindSafe for ProvenanceEntry
impl Send for ProvenanceEntry
impl Sync for ProvenanceEntry
impl Unpin for ProvenanceEntry
impl UnsafeUnpin for ProvenanceEntry
impl UnwindSafe for ProvenanceEntry
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