pub struct Justification {
pub rule_name: String,
pub premises: Vec<FactHandle>,
pub premise_keys: Vec<String>,
pub generation: u64,
}Expand description
A justification for a proven fact (one way it was derived)
Fields§
§rule_name: StringRule that produced this fact
premises: Vec<FactHandle>Premise fact handles that were used
premise_keys: Vec<String>Premise keys (for human-readable tracing)
generation: u64When this justification was created (generation/timestamp)
Trait Implementations§
Source§impl Clone for Justification
impl Clone for Justification
Source§fn clone(&self) -> Justification
fn clone(&self) -> Justification
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 moreAuto Trait Implementations§
impl Freeze for Justification
impl RefUnwindSafe for Justification
impl Send for Justification
impl Sync for Justification
impl Unpin for Justification
impl UnwindSafe for Justification
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