#[non_exhaustive]pub struct ModifyVectorStoreRequest {
pub name: Option<String>,
pub metadata: BTreeMap<String, String>,
pub expires_after: Option<Value>,
}Expand description
EN: Request body for POST /v1/vector_stores/{vector_store_id}.
中文:POST /v1/vector_stores/{vector_store_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.name: Option<String>EN: Updated vector store name. 中文:更新后的向量存储名称。
metadata: BTreeMap<String, String>EN: Updated metadata. 中文:更新后的元数据。
expires_after: Option<Value>EN: Updated expiration policy. 中文:更新后的过期策略。
Implementations§
Source§impl ModifyVectorStoreRequest
impl ModifyVectorStoreRequest
Sourcepub fn builder() -> ModifyVectorStoreRequestBuilder
pub fn builder() -> ModifyVectorStoreRequestBuilder
EN: Starts building a vector store modification request. 中文:开始构建向量存储修改请求。
Trait Implementations§
Source§impl Clone for ModifyVectorStoreRequest
impl Clone for ModifyVectorStoreRequest
Source§fn clone(&self) -> ModifyVectorStoreRequest
fn clone(&self) -> ModifyVectorStoreRequest
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 ModifyVectorStoreRequest
impl Debug for ModifyVectorStoreRequest
Source§impl Default for ModifyVectorStoreRequest
impl Default for ModifyVectorStoreRequest
Source§fn default() -> ModifyVectorStoreRequest
fn default() -> ModifyVectorStoreRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for ModifyVectorStoreRequest
impl PartialEq for ModifyVectorStoreRequest
Source§fn eq(&self, other: &ModifyVectorStoreRequest) -> bool
fn eq(&self, other: &ModifyVectorStoreRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModifyVectorStoreRequest
impl Serialize for ModifyVectorStoreRequest
impl StructuralPartialEq for ModifyVectorStoreRequest
Auto Trait Implementations§
impl Freeze for ModifyVectorStoreRequest
impl RefUnwindSafe for ModifyVectorStoreRequest
impl Send for ModifyVectorStoreRequest
impl Sync for ModifyVectorStoreRequest
impl Unpin for ModifyVectorStoreRequest
impl UnsafeUnpin for ModifyVectorStoreRequest
impl UnwindSafe for ModifyVectorStoreRequest
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