pub struct KnowledgeDocManifest {
pub id: String,
pub selector: String,
pub source_path: String,
pub title: String,
pub summary: String,
pub kind: KnowledgeDocKind,
pub tags: Vec<String>,
pub related: Vec<KnowledgeDocEdge>,
pub updated_at: String,
}Expand description
Stored metadata for one knowledge document.
Tool responses expose a slimmer projection of this type. source_path and
updated_at are retained for pack hydration and local sync, not for agent
selection.
Fields§
§id: StringStable document identifier within the pack.
selector: StringAgent-visible selector used for lookup and graph traversal.
source_path: StringPack-local file path used to load the document body.
title: StringHuman-readable title.
summary: StringShort summary used for search and selection.
kind: KnowledgeDocKindOpen-ended document category normalized to a slug.
Lightweight classification labels.
Outbound graph edges authored on this document.
updated_at: StringSync timestamp for local library packs.
Trait Implementations§
Source§impl Clone for KnowledgeDocManifest
impl Clone for KnowledgeDocManifest
Source§fn clone(&self) -> KnowledgeDocManifest
fn clone(&self) -> KnowledgeDocManifest
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 KnowledgeDocManifest
impl Debug for KnowledgeDocManifest
Source§impl<'de> Deserialize<'de> for KnowledgeDocManifest
impl<'de> Deserialize<'de> for KnowledgeDocManifest
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 KnowledgeDocManifest
impl RefUnwindSafe for KnowledgeDocManifest
impl Send for KnowledgeDocManifest
impl Sync for KnowledgeDocManifest
impl Unpin for KnowledgeDocManifest
impl UnsafeUnpin for KnowledgeDocManifest
impl UnwindSafe for KnowledgeDocManifest
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