pub struct VectorStoreFileContentResponse {
pub data: Vec<VectorStoreFileContentResponseDatum>,
pub has_more: bool,
pub next_page: Option<String>,
}
Expand description
Represents the parsed content of a vector store file.
Fields§
§data: Vec<VectorStoreFileContentResponseDatum>
Parsed content of the file.
has_more: bool
Indicates if there are more content pages to fetch.
next_page: Option<String>
The token for the next page, if any.
Implementations§
Source§impl VectorStoreFileContentResponse
impl VectorStoreFileContentResponse
Sourcepub fn builder() -> VectorStoreFileContentResponseBuilder<((), (), ())>
pub fn builder() -> VectorStoreFileContentResponseBuilder<((), (), ())>
Create a builder for building VectorStoreFileContentResponse
.
On the builder, call .data(...)
, .has_more(...)
, .next_page(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of VectorStoreFileContentResponse
.
Trait Implementations§
Source§impl Clone for VectorStoreFileContentResponse
impl Clone for VectorStoreFileContentResponse
Source§fn clone(&self) -> VectorStoreFileContentResponse
fn clone(&self) -> VectorStoreFileContentResponse
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<'de> Deserialize<'de> for VectorStoreFileContentResponse
impl<'de> Deserialize<'de> for VectorStoreFileContentResponse
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 VectorStoreFileContentResponse
impl PartialEq for VectorStoreFileContentResponse
Source§fn eq(&self, other: &VectorStoreFileContentResponse) -> bool
fn eq(&self, other: &VectorStoreFileContentResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for VectorStoreFileContentResponse
Auto Trait Implementations§
impl Freeze for VectorStoreFileContentResponse
impl RefUnwindSafe for VectorStoreFileContentResponse
impl Send for VectorStoreFileContentResponse
impl Sync for VectorStoreFileContentResponse
impl Unpin for VectorStoreFileContentResponse
impl UnwindSafe for VectorStoreFileContentResponse
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