pub struct VectorStoreFileContent {
pub text: Option<String>,
pub content_type: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
表示 vector store 文件内容项。
Fields§
§text: Option<String>内容文本。
content_type: Option<String>内容类型。
extra: BTreeMap<String, Value>额外字段。
Trait Implementations§
Source§impl Clone for VectorStoreFileContent
impl Clone for VectorStoreFileContent
Source§fn clone(&self) -> VectorStoreFileContent
fn clone(&self) -> VectorStoreFileContent
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 VectorStoreFileContent
impl Debug for VectorStoreFileContent
Source§impl Default for VectorStoreFileContent
impl Default for VectorStoreFileContent
Source§fn default() -> VectorStoreFileContent
fn default() -> VectorStoreFileContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VectorStoreFileContent
impl<'de> Deserialize<'de> for VectorStoreFileContent
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 VectorStoreFileContent
impl RefUnwindSafe for VectorStoreFileContent
impl Send for VectorStoreFileContent
impl Sync for VectorStoreFileContent
impl Unpin for VectorStoreFileContent
impl UnsafeUnpin for VectorStoreFileContent
impl UnwindSafe for VectorStoreFileContent
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