pub struct Explanation {
pub rule: String,
pub edge_type: String,
pub src_key: String,
pub dst_key: String,
pub weight: Option<f64>,
pub predicate: PredicateSummary,
}Expand description
One rule-owned edge between two nodes, with the rule name, edge type, direction (src_key → dst_key), and weight if the rule stores one.
Fields§
§rule: String§edge_type: String§src_key: String§dst_key: String§weight: Option<f64>§predicate: PredicateSummaryTrait Implementations§
Source§impl Clone for Explanation
impl Clone for Explanation
Source§fn clone(&self) -> Explanation
fn clone(&self) -> Explanation
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 Explanation
impl Debug for Explanation
Source§impl PartialEq for Explanation
impl PartialEq for Explanation
Source§impl Serialize for Explanation
impl Serialize for Explanation
impl StructuralPartialEq for Explanation
Auto Trait Implementations§
impl Freeze for Explanation
impl RefUnwindSafe for Explanation
impl Send for Explanation
impl Sync for Explanation
impl Unpin for Explanation
impl UnsafeUnpin for Explanation
impl UnwindSafe for Explanation
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