pub struct ReduceFact {
pub kind: String,
pub json: String,
}Expand description
One fact as the reduce phase will see it: payload plus the file it came from.
Fields§
§kind: StringThe kind, for filtering.
json: StringThe payload as JSON, with file merged in.
Trait Implementations§
Source§impl Clone for ReduceFact
impl Clone for ReduceFact
Source§fn clone(&self) -> ReduceFact
fn clone(&self) -> ReduceFact
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 ReduceFact
impl Debug for ReduceFact
impl Eq for ReduceFact
Source§impl PartialEq for ReduceFact
impl PartialEq for ReduceFact
impl StructuralPartialEq for ReduceFact
Auto Trait Implementations§
impl Freeze for ReduceFact
impl RefUnwindSafe for ReduceFact
impl Send for ReduceFact
impl Sync for ReduceFact
impl Unpin for ReduceFact
impl UnsafeUnpin for ReduceFact
impl UnwindSafe for ReduceFact
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.