#[non_exhaustive]pub struct ModifyVectorStoreFileRequestBuilder { /* private fields */ }Expand description
EN: Builder for vector store file modification requests. 中文:向量存储文件修改请求的构建器。
Implementations§
Source§impl ModifyVectorStoreFileRequestBuilder
impl ModifyVectorStoreFileRequestBuilder
Sourcepub fn attribute(self, key: impl Into<String>, value: Value) -> Self
pub fn attribute(self, key: impl Into<String>, value: Value) -> Self
EN: Adds an updated file attribute. 中文:添加一个更新后的文件属性。
Sourcepub fn attributes(self, attributes: BTreeMap<String, Value>) -> Self
pub fn attributes(self, attributes: BTreeMap<String, Value>) -> Self
EN: Replaces all updated file attributes. 中文:替换全部更新后的文件属性。
Sourcepub fn build(self) -> Result<ModifyVectorStoreFileRequest, LingerError>
pub fn build(self) -> Result<ModifyVectorStoreFileRequest, LingerError>
EN: Builds and validates the request. 中文:构建并校验请求。
Trait Implementations§
Source§impl Clone for ModifyVectorStoreFileRequestBuilder
impl Clone for ModifyVectorStoreFileRequestBuilder
Source§fn clone(&self) -> ModifyVectorStoreFileRequestBuilder
fn clone(&self) -> ModifyVectorStoreFileRequestBuilder
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 Default for ModifyVectorStoreFileRequestBuilder
impl Default for ModifyVectorStoreFileRequestBuilder
Source§fn default() -> ModifyVectorStoreFileRequestBuilder
fn default() -> ModifyVectorStoreFileRequestBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ModifyVectorStoreFileRequestBuilder
impl RefUnwindSafe for ModifyVectorStoreFileRequestBuilder
impl Send for ModifyVectorStoreFileRequestBuilder
impl Sync for ModifyVectorStoreFileRequestBuilder
impl Unpin for ModifyVectorStoreFileRequestBuilder
impl UnsafeUnpin for ModifyVectorStoreFileRequestBuilder
impl UnwindSafe for ModifyVectorStoreFileRequestBuilder
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