pub struct IndexModel {
pub name: String,
pub dimension: i32,
pub metric: Metric,
pub host: String,
pub deletion_protection: Option<DeletionProtection>,
pub spec: IndexModelSpec,
pub status: IndexModelStatus,
}Expand description
IndexModel : The IndexModel describes the configuration and status of a Pinecone index.
Fields§
§name: StringIndex name
dimension: i32Index dimension
metric: MetricIndex metric
host: StringIndex host
deletion_protection: Option<DeletionProtection>Index deletion protection configuration
spec: IndexModelSpecIndex specs
status: IndexModelStatusIndex model specs
Trait Implementations§
Source§impl Clone for IndexModel
impl Clone for IndexModel
Source§fn clone(&self) -> IndexModel
fn clone(&self) -> IndexModel
Returns a duplicate of the value. Read more
1.0.0 · 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 IndexModel
impl Debug for IndexModel
Source§impl Default for IndexModel
impl Default for IndexModel
Source§fn default() -> IndexModel
fn default() -> IndexModel
Returns the “default value” for a type. Read more
Source§impl PartialEq for IndexModel
impl PartialEq for IndexModel
impl StructuralPartialEq for IndexModel
Auto Trait Implementations§
impl Freeze for IndexModel
impl RefUnwindSafe for IndexModel
impl Send for IndexModel
impl Sync for IndexModel
impl Unpin for IndexModel
impl UnwindSafe for IndexModel
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