pub struct PlanTraceNode {
pub memory_id: WireMemoryId,
pub text: String,
pub direction: PlanTraceDirection,
pub depth: u32,
pub parent_edge: Option<WireMemoryId>,
pub alignment_score: Option<f32>,
}Expand description
One node the bidirectional BFS visited, from either direction.
Fields§
§memory_id: WireMemoryId§text: String§direction: PlanTraceDirection§depth: u32§parent_edge: Option<WireMemoryId>The edge this node was reached through. None for the root
(start in the forward direction, goal in the backward
direction).
alignment_score: Option<f32>The goal-proximity alignment score computed for this node, when one was computed.
Trait Implementations§
Source§impl Clone for PlanTraceNode
impl Clone for PlanTraceNode
Source§impl Debug for PlanTraceNode
impl Debug for PlanTraceNode
Source§impl<'de> Deserialize<'de> for PlanTraceNode
impl<'de> Deserialize<'de> for PlanTraceNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PlanTraceNode
impl PartialEq for PlanTraceNode
Source§impl Serialize for PlanTraceNode
impl Serialize for PlanTraceNode
impl StructuralPartialEq for PlanTraceNode
Auto Trait Implementations§
impl Freeze for PlanTraceNode
impl RefUnwindSafe for PlanTraceNode
impl Send for PlanTraceNode
impl Sync for PlanTraceNode
impl Unpin for PlanTraceNode
impl UnsafeUnpin for PlanTraceNode
impl UnwindSafe for PlanTraceNode
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