#[non_exhaustive]pub struct CreateVectorStoreFileBatchRequest {
pub file_ids: Vec<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
EN: Request body for POST /v1/vector_stores/{vector_store_id}/file_batches.
中文:POST /v1/vector_stores/{vector_store_id}/file_batches 的请求体。
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.file_ids: Vec<String>EN: File ids to add to the vector store. 中文:要添加到向量存储的文件 ID。
extra: BTreeMap<String, Value>EN: Forward-compatible optional fields not yet covered by handwritten types. 中文:手写类型尚未覆盖的前向兼容可选字段。
Implementations§
Source§impl CreateVectorStoreFileBatchRequest
impl CreateVectorStoreFileBatchRequest
Sourcepub fn builder() -> CreateVectorStoreFileBatchRequestBuilder
pub fn builder() -> CreateVectorStoreFileBatchRequestBuilder
EN: Starts building a vector store file batch request. 中文:开始构建向量存储文件批量请求。
Trait Implementations§
Source§impl Clone for CreateVectorStoreFileBatchRequest
impl Clone for CreateVectorStoreFileBatchRequest
Source§fn clone(&self) -> CreateVectorStoreFileBatchRequest
fn clone(&self) -> CreateVectorStoreFileBatchRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for CreateVectorStoreFileBatchRequest
impl PartialEq for CreateVectorStoreFileBatchRequest
Source§fn eq(&self, other: &CreateVectorStoreFileBatchRequest) -> bool
fn eq(&self, other: &CreateVectorStoreFileBatchRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateVectorStoreFileBatchRequest
Auto Trait Implementations§
impl Freeze for CreateVectorStoreFileBatchRequest
impl RefUnwindSafe for CreateVectorStoreFileBatchRequest
impl Send for CreateVectorStoreFileBatchRequest
impl Sync for CreateVectorStoreFileBatchRequest
impl Unpin for CreateVectorStoreFileBatchRequest
impl UnsafeUnpin for CreateVectorStoreFileBatchRequest
impl UnwindSafe for CreateVectorStoreFileBatchRequest
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