pub struct UpdateVectorStoreFileAttributesParams {
pub vector_store_id: String,
pub file_id: String,
}
Fields§
§vector_store_id: String
The ID of the vector store the file belongs to.
file_id: String
The ID of the file to update attributes.
Implementations§
Source§impl UpdateVectorStoreFileAttributesParams
impl UpdateVectorStoreFileAttributesParams
Sourcepub fn builder() -> UpdateVectorStoreFileAttributesParamsBuilder<((), ())>
pub fn builder() -> UpdateVectorStoreFileAttributesParamsBuilder<((), ())>
Create a builder for building UpdateVectorStoreFileAttributesParams
.
On the builder, call .vector_store_id(...)
, .file_id(...)
to set the values of the fields.
Finally, call .build()
to create the instance of UpdateVectorStoreFileAttributesParams
.
Trait Implementations§
Source§impl Clone for UpdateVectorStoreFileAttributesParams
impl Clone for UpdateVectorStoreFileAttributesParams
Source§fn clone(&self) -> UpdateVectorStoreFileAttributesParams
fn clone(&self) -> UpdateVectorStoreFileAttributesParams
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for UpdateVectorStoreFileAttributesParams
impl<'de> Deserialize<'de> for UpdateVectorStoreFileAttributesParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UpdateVectorStoreFileAttributesParams
impl PartialEq for UpdateVectorStoreFileAttributesParams
Source§fn eq(&self, other: &UpdateVectorStoreFileAttributesParams) -> bool
fn eq(&self, other: &UpdateVectorStoreFileAttributesParams) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateVectorStoreFileAttributesParams
Auto Trait Implementations§
impl Freeze for UpdateVectorStoreFileAttributesParams
impl RefUnwindSafe for UpdateVectorStoreFileAttributesParams
impl Send for UpdateVectorStoreFileAttributesParams
impl Sync for UpdateVectorStoreFileAttributesParams
impl Unpin for UpdateVectorStoreFileAttributesParams
impl UnwindSafe for UpdateVectorStoreFileAttributesParams
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