pub struct KnowledgeEntry {
pub id: String,
pub project_id: String,
pub key: String,
pub title: String,
pub content: String,
pub metadata: Option<Value>,
pub tags: Vec<String>,
pub category: Option<String>,
pub created_by_type: String,
pub created_by_id: String,
pub updated_at: String,
pub created_at: String,
}Fields§
§id: String§project_id: String§key: String§title: String§content: String§metadata: Option<Value>Tag list stored as JSON array in SQLite.
category: Option<String>Optional category: architecture | pattern | gotcha | decision | reference
created_by_type: String§created_by_id: String§updated_at: String§created_at: StringTrait Implementations§
Source§impl Clone for KnowledgeEntry
impl Clone for KnowledgeEntry
Source§fn clone(&self) -> KnowledgeEntry
fn clone(&self) -> KnowledgeEntry
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 KnowledgeEntry
impl Debug for KnowledgeEntry
Source§impl<'de> Deserialize<'de> for KnowledgeEntry
impl<'de> Deserialize<'de> for KnowledgeEntry
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 KnowledgeEntry
impl RefUnwindSafe for KnowledgeEntry
impl Send for KnowledgeEntry
impl Sync for KnowledgeEntry
impl Unpin for KnowledgeEntry
impl UnsafeUnpin for KnowledgeEntry
impl UnwindSafe for KnowledgeEntry
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