pub struct RuleProvenance {
pub rule_id: String,
pub head: String,
pub source_kind: RuleSourceKind,
pub source_span: Option<String>,
pub generation_trace_hash: Option<String>,
pub support_relation_ids: Vec<String>,
pub counterexample_relation_ids: Vec<String>,
}Expand description
Public rule provenance record.
Fields§
§rule_id: StringStable rule identifier within the diagnostic report.
head: StringFormatted rule head, e.g. reach(X, Y).
source_kind: RuleSourceKindRule origin class.
source_span: Option<String>Source span when available from the parser.
generation_trace_hash: Option<String>Stable hash of the source or generation trace.
support_relation_ids: Vec<String>Body relation ids that support this rule.
counterexample_relation_ids: Vec<String>Counterexample relation ids when supplied by an induction path.
Trait Implementations§
Source§impl Clone for RuleProvenance
impl Clone for RuleProvenance
Source§fn clone(&self) -> RuleProvenance
fn clone(&self) -> RuleProvenance
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 RuleProvenance
impl Debug for RuleProvenance
Source§impl PartialEq for RuleProvenance
impl PartialEq for RuleProvenance
impl Eq for RuleProvenance
impl StructuralPartialEq for RuleProvenance
Auto Trait Implementations§
impl Freeze for RuleProvenance
impl RefUnwindSafe for RuleProvenance
impl Send for RuleProvenance
impl Sync for RuleProvenance
impl Unpin for RuleProvenance
impl UnsafeUnpin for RuleProvenance
impl UnwindSafe for RuleProvenance
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