pub struct CancelVectorStoreFileBatchParams {
pub vector_store_id: String,
pub batch_id: String,
}
Fields§
§vector_store_id: String
The ID of the vector store that the file batch belongs to.
batch_id: String
The ID of the file batch to cancel.
Implementations§
Source§impl CancelVectorStoreFileBatchParams
impl CancelVectorStoreFileBatchParams
Sourcepub fn builder() -> CancelVectorStoreFileBatchParamsBuilder<((), ())>
pub fn builder() -> CancelVectorStoreFileBatchParamsBuilder<((), ())>
Create a builder for building CancelVectorStoreFileBatchParams
.
On the builder, call .vector_store_id(...)
, .batch_id(...)
to set the values of the fields.
Finally, call .build()
to create the instance of CancelVectorStoreFileBatchParams
.
Trait Implementations§
Source§impl Clone for CancelVectorStoreFileBatchParams
impl Clone for CancelVectorStoreFileBatchParams
Source§fn clone(&self) -> CancelVectorStoreFileBatchParams
fn clone(&self) -> CancelVectorStoreFileBatchParams
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 CancelVectorStoreFileBatchParams
impl<'de> Deserialize<'de> for CancelVectorStoreFileBatchParams
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 CancelVectorStoreFileBatchParams
impl PartialEq for CancelVectorStoreFileBatchParams
Source§fn eq(&self, other: &CancelVectorStoreFileBatchParams) -> bool
fn eq(&self, other: &CancelVectorStoreFileBatchParams) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CancelVectorStoreFileBatchParams
Auto Trait Implementations§
impl Freeze for CancelVectorStoreFileBatchParams
impl RefUnwindSafe for CancelVectorStoreFileBatchParams
impl Send for CancelVectorStoreFileBatchParams
impl Sync for CancelVectorStoreFileBatchParams
impl Unpin for CancelVectorStoreFileBatchParams
impl UnwindSafe for CancelVectorStoreFileBatchParams
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