pub struct GraphPageNode {
pub id: String,
pub title: String,
pub space: Option<String>,
pub creation_kind: String,
pub entity_id: Option<String>,
pub last_modified: String,
}Expand description
A wiki page drawn as a graph node.
“Wiki page” is every page that is not an entity’s kind='entity' dual-write
shadow: the distilled/authored/research/source pages a human would call a
page. Entity shadows stay out because the entity itself is already a node.
No community_id: neither store can answer it for a wiki page.
pages.community_id is written only onto kind='entity' shadows by
detect_communities, and page_community_assignments is a fenced routing
table whose only trusted reader (list_community_page_assignments) gates
every row behind five freshness joins and a state check. Reading either
one raw would report a stale, held or dropped assignment as a fact, so the
map derives a page’s region from what it links to instead.
Fields§
§id: String§title: String§space: Option<String>The page’s space NAME, matching the vocabulary Entity.space and
GraphMemoryNode.space speak (scoping itself keys on workspace).
creation_kind: String§entity_id: Option<String>Set when the page is about an entity, which is a different thing from being that entity’s shadow page.
last_modified: StringRFC 3339, as pages.last_modified stores it.
Trait Implementations§
Source§impl Clone for GraphPageNode
impl Clone for GraphPageNode
Source§fn clone(&self) -> GraphPageNode
fn clone(&self) -> GraphPageNode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more