pub struct ImpactPathStep {
pub from: NodeId,
pub to: NodeId,
pub edge_id: EdgeId,
pub kind: EdgeKind,
pub reversed: bool,
pub confidence: f32,
pub status: EpistemicStatus,
}Expand description
One directed relationship in an impact path.
Fields§
§from: NodeIdNode from which this traversal step began.
to: NodeIdNode reached by this traversal step.
edge_id: EdgeIdExisting graph relationship used by this step.
kind: EdgeKindRelationship kind.
reversed: boolWhether the underlying edge was followed from target to source.
confidence: f32Edge confidence as supplied by the graph.
status: EpistemicStatusEdge epistemic status as supplied by the graph.
Trait Implementations§
Source§impl Clone for ImpactPathStep
impl Clone for ImpactPathStep
Source§fn clone(&self) -> ImpactPathStep
fn clone(&self) -> ImpactPathStep
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 ImpactPathStep
impl Debug for ImpactPathStep
Source§impl<'de> Deserialize<'de> for ImpactPathStep
impl<'de> Deserialize<'de> for ImpactPathStep
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 JsonSchema for ImpactPathStep
impl JsonSchema for ImpactPathStep
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ImpactPathStep
impl PartialEq for ImpactPathStep
Source§impl Serialize for ImpactPathStep
impl Serialize for ImpactPathStep
impl StructuralPartialEq for ImpactPathStep
Auto Trait Implementations§
impl Freeze for ImpactPathStep
impl RefUnwindSafe for ImpactPathStep
impl Send for ImpactPathStep
impl Sync for ImpactPathStep
impl Unpin for ImpactPathStep
impl UnsafeUnpin for ImpactPathStep
impl UnwindSafe for ImpactPathStep
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