pub struct UpdateVectorStoreRequest<'a> {
pub vector_store_id: &'a str,
pub name: Option<String>,
pub expires_after: Option<Value>,
pub metadata: Option<HashMap<String, String>>,
pub extra_body_map: Option<Map<String, Value>>,
}Expand description
Updates a vector store.
Fields§
§vector_store_id: &'a strThe ID of the vector store to update, e.g. vs_....
name: Option<String>The new name of the vector store.
expires_after: Option<Value>The new expiration policy of the store, as raw JSON
({"anchor": "last_active_at", "days": N}).
metadata: Option<HashMap<String, String>>The new metadata of the store. Passing null (i.e. None at
the JSON level, injectable through extra_body) clears it.
extra_body_map: Option<Map<String, Value>>Additional JSON properties flattened into the request body, for fields not covered by the typed struct.
Trait Implementations§
Source§impl<'a> Clone for UpdateVectorStoreRequest<'a>
impl<'a> Clone for UpdateVectorStoreRequest<'a>
Source§impl<'a> Debug for UpdateVectorStoreRequest<'a>
impl<'a> Debug for UpdateVectorStoreRequest<'a>
Source§impl<'a> Default for UpdateVectorStoreRequest<'a>
impl<'a> Default for UpdateVectorStoreRequest<'a>
Source§impl Post for UpdateVectorStoreRequest<'_>
impl Post for UpdateVectorStoreRequest<'_>
Source§impl PostNoStream for UpdateVectorStoreRequest<'_>
impl PostNoStream for UpdateVectorStoreRequest<'_>
Auto Trait Implementations§
impl<'a> Freeze for UpdateVectorStoreRequest<'a>
impl<'a> RefUnwindSafe for UpdateVectorStoreRequest<'a>
impl<'a> Send for UpdateVectorStoreRequest<'a>
impl<'a> Sync for UpdateVectorStoreRequest<'a>
impl<'a> Unpin for UpdateVectorStoreRequest<'a>
impl<'a> UnsafeUnpin for UpdateVectorStoreRequest<'a>
impl<'a> UnwindSafe for UpdateVectorStoreRequest<'a>
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