pub enum RuleSourceKind {
Source,
Generated,
Mined,
Imported,
RuntimeInjected,
}Expand description
Origin class for a rule known to the induction/provenance surface.
Variants§
Source
Rule was authored in source text.
Generated
Rule was produced by a native induction or compiler-generation step.
Mined
Rule was mined by an induction workflow and registered with provenance.
Imported
Rule came from an imported module.
RuntimeInjected
Rule was inserted at runtime through an API.
Trait Implementations§
Source§impl Clone for RuleSourceKind
impl Clone for RuleSourceKind
Source§fn clone(&self) -> RuleSourceKind
fn clone(&self) -> RuleSourceKind
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 RuleSourceKind
impl Debug for RuleSourceKind
Source§impl Hash for RuleSourceKind
impl Hash for RuleSourceKind
Source§impl PartialEq for RuleSourceKind
impl PartialEq for RuleSourceKind
impl Copy for RuleSourceKind
impl Eq for RuleSourceKind
impl StructuralPartialEq for RuleSourceKind
Auto Trait Implementations§
impl Freeze for RuleSourceKind
impl RefUnwindSafe for RuleSourceKind
impl Send for RuleSourceKind
impl Sync for RuleSourceKind
impl Unpin for RuleSourceKind
impl UnsafeUnpin for RuleSourceKind
impl UnwindSafe for RuleSourceKind
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