pub struct UpsertKnowledge {
pub title: String,
pub content: String,
pub metadata: Option<Value>,
pub tags: Option<Vec<String>>,
pub category: Option<String>,
}Fields§
§title: String§content: String§metadata: Option<Value>Tags to attach (optional, defaults to empty list on create).
category: Option<String>Category: architecture | pattern | gotcha | decision | reference
Trait Implementations§
Source§impl Debug for UpsertKnowledge
impl Debug for UpsertKnowledge
Source§impl<'de> Deserialize<'de> for UpsertKnowledge
impl<'de> Deserialize<'de> for UpsertKnowledge
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 UpsertKnowledge
impl RefUnwindSafe for UpsertKnowledge
impl Send for UpsertKnowledge
impl Sync for UpsertKnowledge
impl Unpin for UpsertKnowledge
impl UnsafeUnpin for UpsertKnowledge
impl UnwindSafe for UpsertKnowledge
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