#[non_exhaustive]pub struct ModifyVectorStoreRequestBuilder { /* private fields */ }Expand description
EN: Builder for vector store modification requests. 中文:向量存储修改请求的构建器。
Implementations§
Source§impl ModifyVectorStoreRequestBuilder
impl ModifyVectorStoreRequestBuilder
Sourcepub fn name(self, name: impl Into<String>) -> Self
pub fn name(self, name: impl Into<String>) -> Self
EN: Sets the updated vector store name. 中文:设置更新后的向量存储名称。
Sourcepub fn metadata(self, key: impl Into<String>, value: impl Into<String>) -> Self
pub fn metadata(self, key: impl Into<String>, value: impl Into<String>) -> Self
EN: Adds an updated metadata key/value pair. 中文:添加一个更新后的元数据键值对。
Sourcepub fn expires_after(self, expires_after: Value) -> Self
pub fn expires_after(self, expires_after: Value) -> Self
EN: Sets the updated expiration policy. 中文:设置更新后的过期策略。
Sourcepub fn build(self) -> Result<ModifyVectorStoreRequest, LingerError>
pub fn build(self) -> Result<ModifyVectorStoreRequest, LingerError>
EN: Builds and validates the request. 中文:构建并校验请求。
Trait Implementations§
Source§impl Clone for ModifyVectorStoreRequestBuilder
impl Clone for ModifyVectorStoreRequestBuilder
Source§fn clone(&self) -> ModifyVectorStoreRequestBuilder
fn clone(&self) -> ModifyVectorStoreRequestBuilder
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 ModifyVectorStoreRequestBuilder
impl Default for ModifyVectorStoreRequestBuilder
Source§fn default() -> ModifyVectorStoreRequestBuilder
fn default() -> ModifyVectorStoreRequestBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ModifyVectorStoreRequestBuilder
impl RefUnwindSafe for ModifyVectorStoreRequestBuilder
impl Send for ModifyVectorStoreRequestBuilder
impl Sync for ModifyVectorStoreRequestBuilder
impl Unpin for ModifyVectorStoreRequestBuilder
impl UnsafeUnpin for ModifyVectorStoreRequestBuilder
impl UnwindSafe for ModifyVectorStoreRequestBuilder
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