pub struct CreateVectorNameRequestBuilder { /* private fields */ }Implementations§
Source§impl CreateVectorNameRequestBuilder
impl CreateVectorNameRequestBuilder
Sourcepub fn collection_name(self, value: impl Into<String>) -> Self
pub fn collection_name(self, value: impl Into<String>) -> Self
Name of the collection
Sourcepub fn vector_name(self, value: impl Into<String>) -> Self
pub fn vector_name(self, value: impl Into<String>) -> Self
Name of the new vector
Sourcepub fn vector_config<VALUE: Into<VectorConfig>>(self, value: VALUE) -> Self
pub fn vector_config<VALUE: Into<VectorConfig>>(self, value: VALUE) -> Self
Configuration for the new vector - either dense or sparse.
Accepts either a DenseVectorCreationConfig (or its builder)
or a SparseVectorCreationConfig (or its builder).
Sourcepub fn timeout(self, value: u64) -> Self
pub fn timeout(self, value: u64) -> Self
If set, overrides global timeout setting for this request. Unit is seconds.
Sourcepub fn ordering<VALUE: Into<WriteOrdering>>(self, value: VALUE) -> Self
pub fn ordering<VALUE: Into<WriteOrdering>>(self, value: VALUE) -> Self
Write ordering guarantees
Source§impl CreateVectorNameRequestBuilder
impl CreateVectorNameRequestBuilder
Sourcepub fn build(self) -> CreateVectorNameRequest
pub fn build(self) -> CreateVectorNameRequest
Builds the desired type. Can often be omitted.
Trait Implementations§
Source§impl Clone for CreateVectorNameRequestBuilder
impl Clone for CreateVectorNameRequestBuilder
Source§fn clone(&self) -> CreateVectorNameRequestBuilder
fn clone(&self) -> CreateVectorNameRequestBuilder
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 From<CreateVectorNameRequestBuilder> for CreateVectorNameRequest
impl From<CreateVectorNameRequestBuilder> for CreateVectorNameRequest
Source§fn from(value: CreateVectorNameRequestBuilder) -> Self
fn from(value: CreateVectorNameRequestBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreateVectorNameRequestBuilder
impl RefUnwindSafe for CreateVectorNameRequestBuilder
impl Send for CreateVectorNameRequestBuilder
impl Sync for CreateVectorNameRequestBuilder
impl Unpin for CreateVectorNameRequestBuilder
impl UnsafeUnpin for CreateVectorNameRequestBuilder
impl UnwindSafe for CreateVectorNameRequestBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request