kmp-domain 0.1.5

Domain model of the Kernel Memory Protocol: aggregates, value objects, repositories and projections, with no IO
Documentation
1
2
3
4
5
6
7
8
9
use crate::{NodeProjection, NodeRelationProjection};

#[derive(Debug, Clone, PartialEq, Eq)]
pub struct ContextPathNeighborhood {
    pub root: NodeProjection,
    pub neighbors: Vec<NodeProjection>,
    pub relations: Vec<NodeRelationProjection>,
    pub path_node_ids: Vec<String>,
}