pub struct KnowledgeDocManifest {Show 15 fields
pub id: String,
pub virtual_path: String,
pub source_path: String,
pub title: String,
pub summary: String,
pub description: Option<String>,
pub kind: KnowledgeDocKind,
pub authority: KnowledgeDocAuthority,
pub status: KnowledgeDocStatus,
pub tags: Vec<String>,
pub aliases: Vec<String>,
pub keywords: Vec<String>,
pub related: Vec<KnowledgeDocEdge>,
pub size_bytes: i64,
pub updated_at: String,
}Expand description
Shared document metadata visible through knowledge pack APIs.
size_bytes and updated_at are sync hints used by local project caches.
Builtin and remote manifests may leave them empty/defaulted.
Fields§
§id: String§virtual_path: String§source_path: String§title: String§summary: String§description: Option<String>§kind: KnowledgeDocKind§status: KnowledgeDocStatus§aliases: Vec<String>§keywords: Vec<String>§size_bytes: i64§updated_at: StringTrait 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