pub struct VectorStoreFileContentObject {
pub type: String,
pub text: String,
}
Expand description
Represents the parsed content of a vector store file.
Fields§
§type: String
The content type (currently only "text"
)
text: String
The text content
Trait Implementations§
Source§impl Clone for VectorStoreFileContentObject
impl Clone for VectorStoreFileContentObject
Source§fn clone(&self) -> VectorStoreFileContentObject
fn clone(&self) -> VectorStoreFileContentObject
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 VectorStoreFileContentObject
impl Debug for VectorStoreFileContentObject
Source§impl<'de> Deserialize<'de> for VectorStoreFileContentObject
impl<'de> Deserialize<'de> for VectorStoreFileContentObject
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 VectorStoreFileContentObject
impl PartialEq for VectorStoreFileContentObject
Source§fn eq(&self, other: &VectorStoreFileContentObject) -> bool
fn eq(&self, other: &VectorStoreFileContentObject) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for VectorStoreFileContentObject
Auto Trait Implementations§
impl Freeze for VectorStoreFileContentObject
impl RefUnwindSafe for VectorStoreFileContentObject
impl Send for VectorStoreFileContentObject
impl Sync for VectorStoreFileContentObject
impl Unpin for VectorStoreFileContentObject
impl UnwindSafe for VectorStoreFileContentObject
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