pub struct KnowledgeDocMetadataResult {
pub pack: String,
pub slug: String,
pub selector: String,
pub title: String,
pub summary: String,
pub kind: String,
pub tags: Vec<String>,
pub related: Vec<KnowledgeDocRelatedResult>,
}Fields§
§pack: StringCanonical pack selector to pass as the pack argument to knowledge tools.
slug: StringStable document slug to pass as slug to update/delete library document tools.
selector: StringAgent-visible selector used for lookup and traversal.
title: StringHuman-readable title.
summary: StringShort summary used for selection.
kind: StringOpen-ended document category.
Lightweight classification labels.
Outbound graph edge pointers. Call list_knowledge_neighbors to expand them.
Trait Implementations§
Source§impl Clone for KnowledgeDocMetadataResult
impl Clone for KnowledgeDocMetadataResult
Source§fn clone(&self) -> KnowledgeDocMetadataResult
fn clone(&self) -> KnowledgeDocMetadataResult
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 KnowledgeDocMetadataResult
impl Debug for KnowledgeDocMetadataResult
Auto Trait Implementations§
impl Freeze for KnowledgeDocMetadataResult
impl RefUnwindSafe for KnowledgeDocMetadataResult
impl Send for KnowledgeDocMetadataResult
impl Sync for KnowledgeDocMetadataResult
impl Unpin for KnowledgeDocMetadataResult
impl UnsafeUnpin for KnowledgeDocMetadataResult
impl UnwindSafe for KnowledgeDocMetadataResult
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