pub struct KnowledgeIndexEntry {
pub number: String,
pub id: Uuid,
pub title: String,
pub article_type: KnowledgeType,
pub status: KnowledgeStatus,
pub domain: Option<String>,
pub file: String,
}Expand description
Knowledge article index entry for the knowledge.yaml file
Fields§
§number: StringArticle number (e.g., “KB-0001”)
id: UuidArticle UUID
title: StringArticle title
article_type: KnowledgeTypeArticle type
status: KnowledgeStatusArticle status
domain: Option<String>Domain (if applicable)
file: StringFilename of the article YAML file
Trait Implementations§
Source§impl Clone for KnowledgeIndexEntry
impl Clone for KnowledgeIndexEntry
Source§fn clone(&self) -> KnowledgeIndexEntry
fn clone(&self) -> KnowledgeIndexEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 KnowledgeIndexEntry
impl Debug for KnowledgeIndexEntry
Source§impl<'de> Deserialize<'de> for KnowledgeIndexEntry
impl<'de> Deserialize<'de> for KnowledgeIndexEntry
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
Source§impl From<&KnowledgeArticle> for KnowledgeIndexEntry
impl From<&KnowledgeArticle> for KnowledgeIndexEntry
Source§fn from(article: &KnowledgeArticle) -> Self
fn from(article: &KnowledgeArticle) -> Self
Converts to this type from the input type.
Source§impl PartialEq for KnowledgeIndexEntry
impl PartialEq for KnowledgeIndexEntry
Source§impl Serialize for KnowledgeIndexEntry
impl Serialize for KnowledgeIndexEntry
impl StructuralPartialEq for KnowledgeIndexEntry
Auto Trait Implementations§
impl Freeze for KnowledgeIndexEntry
impl RefUnwindSafe for KnowledgeIndexEntry
impl Send for KnowledgeIndexEntry
impl Sync for KnowledgeIndexEntry
impl Unpin for KnowledgeIndexEntry
impl UnwindSafe for KnowledgeIndexEntry
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