#[non_exhaustive]pub struct KnowledgeBulkEntry {
pub content: String,
pub source_uri: String,
pub title: Option<String>,
pub description: Option<String>,
pub tags: Option<Vec<String>>,
pub metadata: Option<HashMap<String, Value>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.content: String§source_uri: String§title: Option<String>§description: Option<String>§metadata: Option<HashMap<String, Value>>Implementations§
Trait Implementations§
Source§impl Clone for KnowledgeBulkEntry
impl Clone for KnowledgeBulkEntry
Source§impl Debug for KnowledgeBulkEntry
impl Debug for KnowledgeBulkEntry
Source§impl<'de> Deserialize<'de> for KnowledgeBulkEntry
impl<'de> Deserialize<'de> for KnowledgeBulkEntry
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 PartialEq for KnowledgeBulkEntry
impl PartialEq for KnowledgeBulkEntry
Source§impl Serialize for KnowledgeBulkEntry
impl Serialize for KnowledgeBulkEntry
impl StructuralPartialEq for KnowledgeBulkEntry
Auto Trait Implementations§
impl Forget for KnowledgeBulkEntry
impl Freeze for KnowledgeBulkEntry
impl Move for KnowledgeBulkEntry
impl RefUnwindSafe for KnowledgeBulkEntry
impl Send for KnowledgeBulkEntry
impl Sync for KnowledgeBulkEntry
impl Unpin for KnowledgeBulkEntry
impl UnsafeUnpin for KnowledgeBulkEntry
impl UnwindSafe for KnowledgeBulkEntry
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