#[non_exhaustive]pub struct ModifyVectorStoreFileRequest {
pub attributes: BTreeMap<String, Value>,
}Expand description
EN: Request body for POST /v1/vector_stores/{vector_store_id}/files/{file_id}.
中文:POST /v1/vector_stores/{vector_store_id}/files/{file_id} 的请求体。
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.attributes: BTreeMap<String, Value>EN: Updated file attributes. 中文:更新后的文件属性。
Implementations§
Source§impl ModifyVectorStoreFileRequest
impl ModifyVectorStoreFileRequest
Sourcepub fn builder() -> ModifyVectorStoreFileRequestBuilder
pub fn builder() -> ModifyVectorStoreFileRequestBuilder
EN: Starts building a vector store file modification request. 中文:开始构建向量存储文件修改请求。
Trait Implementations§
Source§impl Clone for ModifyVectorStoreFileRequest
impl Clone for ModifyVectorStoreFileRequest
Source§fn clone(&self) -> ModifyVectorStoreFileRequest
fn clone(&self) -> ModifyVectorStoreFileRequest
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 Debug for ModifyVectorStoreFileRequest
impl Debug for ModifyVectorStoreFileRequest
Source§impl Default for ModifyVectorStoreFileRequest
impl Default for ModifyVectorStoreFileRequest
Source§fn default() -> ModifyVectorStoreFileRequest
fn default() -> ModifyVectorStoreFileRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for ModifyVectorStoreFileRequest
impl PartialEq for ModifyVectorStoreFileRequest
Source§fn eq(&self, other: &ModifyVectorStoreFileRequest) -> bool
fn eq(&self, other: &ModifyVectorStoreFileRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModifyVectorStoreFileRequest
Auto Trait Implementations§
impl Freeze for ModifyVectorStoreFileRequest
impl RefUnwindSafe for ModifyVectorStoreFileRequest
impl Send for ModifyVectorStoreFileRequest
impl Sync for ModifyVectorStoreFileRequest
impl Unpin for ModifyVectorStoreFileRequest
impl UnsafeUnpin for ModifyVectorStoreFileRequest
impl UnwindSafe for ModifyVectorStoreFileRequest
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