pub struct EmittedFact {
pub kind: String,
pub data: String,
}Expand description
A fact a rule emitted, before the engine attaches the file and rule it came from.
Fields§
§kind: StringThe kind field, lifted out so the reduce phase can filter without parsing.
data: StringThe whole fact, as JSON.stringify rendered it. Always a JSON object.
Trait Implementations§
Source§impl Clone for EmittedFact
impl Clone for EmittedFact
Source§fn clone(&self) -> EmittedFact
fn clone(&self) -> EmittedFact
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 Debug for EmittedFact
impl Debug for EmittedFact
impl Eq for EmittedFact
Source§impl PartialEq for EmittedFact
impl PartialEq for EmittedFact
impl StructuralPartialEq for EmittedFact
Auto Trait Implementations§
impl Freeze for EmittedFact
impl RefUnwindSafe for EmittedFact
impl Send for EmittedFact
impl Sync for EmittedFact
impl Unpin for EmittedFact
impl UnsafeUnpin for EmittedFact
impl UnwindSafe for EmittedFact
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.