pub struct DescribeIndexStatsResponse {
pub namespaces: HashMap<String, NamespaceSummary>,
pub dimension: u32,
pub index_fullness: f32,
pub total_vector_count: u32,
}
Expand description
The response for the describe_index_stats
operation.
Fields§
§namespaces: HashMap<String, NamespaceSummary>
A mapping for each namespace in the index from the namespace name to a summary of its contents. If a metadata filter expression is present, the summary will reflect only vectors matching that expression.
dimension: u32
The dimension of the indexed vectors.
index_fullness: f32
The fullness of the index, regardless of whether a metadata filter expression was passed. The granularity of this metric is 10%.
Serverless indexes scale automatically as needed, so index fullness is relevant only for pod-based indexes.
The index fullness result may be inaccurate during pod resizing; to get the status of a pod resizing process, use describe_index
.
total_vector_count: u32
The total number of vectors in the index, regardless of whether a metadata filter expression was passed
Trait Implementations§
Source§impl Clone for DescribeIndexStatsResponse
impl Clone for DescribeIndexStatsResponse
Source§fn clone(&self) -> DescribeIndexStatsResponse
fn clone(&self) -> DescribeIndexStatsResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DescribeIndexStatsResponse
impl Debug for DescribeIndexStatsResponse
Source§impl Default for DescribeIndexStatsResponse
impl Default for DescribeIndexStatsResponse
Source§impl Message for DescribeIndexStatsResponse
impl Message for DescribeIndexStatsResponse
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.impl StructuralPartialEq for DescribeIndexStatsResponse
Auto Trait Implementations§
impl Freeze for DescribeIndexStatsResponse
impl RefUnwindSafe for DescribeIndexStatsResponse
impl Send for DescribeIndexStatsResponse
impl Sync for DescribeIndexStatsResponse
impl Unpin for DescribeIndexStatsResponse
impl UnwindSafe for DescribeIndexStatsResponse
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
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>
T
in a tonic::Request