pub struct SearchResult {
pub success: bool,
pub path: Vec<String>,
pub goals_explored: usize,
pub max_depth_reached: usize,
pub bindings: HashMap<String, Value>,
}Expand description
Result of a search operation
Fields§
§success: boolWhether the goal was successfully proven
path: Vec<String>Path taken to prove the goal (sequence of rule names)
goals_explored: usizeNumber of goals explored
max_depth_reached: usizeMaximum depth reached
bindings: HashMap<String, Value>Variable bindings from the proof
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SearchResult
impl RefUnwindSafe for SearchResult
impl Send for SearchResult
impl Sync for SearchResult
impl Unpin for SearchResult
impl UnwindSafe for SearchResult
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