pub struct Page {Show 16 fields
pub id: String,
pub title: String,
pub summary: Option<String>,
pub content: String,
pub entity_id: Option<String>,
pub domain: Option<String>,
pub source_memory_ids: Vec<String>,
pub version: i64,
pub status: String,
pub created_at: String,
pub last_compiled: String,
pub last_modified: String,
pub sources_updated_count: i64,
pub stale_reason: Option<String>,
pub user_edited: bool,
pub relevance_score: f32,
}Expand description
A compiled knowledge page — structured, cross-referenced, backed by source memories.
Fields§
§id: String§title: String§summary: Option<String>§content: String§entity_id: Option<String>§domain: Option<String>§source_memory_ids: Vec<String>Kept for dual-write transition; prefer concept_sources join table for new reads.
version: i64§status: String§created_at: String§last_compiled: String§last_modified: String§sources_updated_count: i64How many source memories were updated since last distillation.
stale_reason: Option<String>Why this page is stale: “source_updated” | “source_conflict” | None.
user_edited: boolTrue if a human has edited this page’s content directly.
relevance_score: f32Relevance score from search (0.0-1.0). Only populated by search_pages;
zero for persisted/non-search contexts.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Page
impl<'de> Deserialize<'de> for Page
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
Auto Trait Implementations§
impl Freeze for Page
impl RefUnwindSafe for Page
impl Send for Page
impl Sync for Page
impl Unpin for Page
impl UnsafeUnpin for Page
impl UnwindSafe for Page
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