pub struct QueryProofTrace {
pub query_id: String,
pub query: String,
pub answer_relation: String,
pub rule_ids: Vec<String>,
pub source_facts: Vec<String>,
pub rejected_alternatives: Vec<String>,
}Expand description
Public query proof trace record.
Fields§
§query_id: StringStable query identifier.
query: StringFormatted source query atom.
answer_relation: StringInternal answer relation for the query.
rule_ids: Vec<String>Rule ids that can derive the query predicate.
source_facts: Vec<String>Source facts named by the direct proof frontier.
rejected_alternatives: Vec<String>Rejected or negated alternatives encountered in the trace.
Trait Implementations§
Source§impl Clone for QueryProofTrace
impl Clone for QueryProofTrace
Source§fn clone(&self) -> QueryProofTrace
fn clone(&self) -> QueryProofTrace
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 moreSource§impl Debug for QueryProofTrace
impl Debug for QueryProofTrace
Source§impl PartialEq for QueryProofTrace
impl PartialEq for QueryProofTrace
impl Eq for QueryProofTrace
impl StructuralPartialEq for QueryProofTrace
Auto Trait Implementations§
impl Freeze for QueryProofTrace
impl RefUnwindSafe for QueryProofTrace
impl Send for QueryProofTrace
impl Sync for QueryProofTrace
impl Unpin for QueryProofTrace
impl UnsafeUnpin for QueryProofTrace
impl UnwindSafe for QueryProofTrace
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more