#[repr(i32)]pub enum AxisHeadCountMode {
Total = 0,
PerHead = 1,
}Expand description
What an axis head count scan reports.
Variants§
Total = 0
Total number of distinct slot-0 head terms of the whole CF. The walk counts head boundaries and never materializes terms; a single unpaged response carries the count.
PerHead = 1
Per-head counts of distinct slot-1 terms: one (term, count) hit per slot-0 head with at least one visible row, paged at run boundaries like DomainScanCounts.
Implementations§
Source§impl AxisHeadCountMode
impl AxisHeadCountMode
Sourcepub const fn is_valid(value: i32) -> bool
pub const fn is_valid(value: i32) -> bool
Returns true if value is a variant of AxisHeadCountMode.
Sourcepub fn from_i32(value: i32) -> Option<AxisHeadCountMode>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<AxisHeadCountMode>
Use the TryFrom<i32> implementation instead
Converts an i32 to a AxisHeadCountMode, or None if value is not a valid variant.
Source§impl AxisHeadCountMode
impl AxisHeadCountMode
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for AxisHeadCountMode
impl Clone for AxisHeadCountMode
Source§fn clone(&self) -> AxisHeadCountMode
fn clone(&self) -> AxisHeadCountMode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AxisHeadCountMode
impl Debug for AxisHeadCountMode
Source§impl Default for AxisHeadCountMode
impl Default for AxisHeadCountMode
Source§fn default() -> AxisHeadCountMode
fn default() -> AxisHeadCountMode
Source§impl From<AxisHeadCountMode> for i32
impl From<AxisHeadCountMode> for i32
Source§fn from(value: AxisHeadCountMode) -> i32
fn from(value: AxisHeadCountMode) -> i32
Source§impl Hash for AxisHeadCountMode
impl Hash for AxisHeadCountMode
Source§impl Ord for AxisHeadCountMode
impl Ord for AxisHeadCountMode
Source§fn cmp(&self, other: &AxisHeadCountMode) -> Ordering
fn cmp(&self, other: &AxisHeadCountMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for AxisHeadCountMode
impl PartialEq for AxisHeadCountMode
Source§impl PartialOrd for AxisHeadCountMode
impl PartialOrd for AxisHeadCountMode
Source§impl TryFrom<i32> for AxisHeadCountMode
impl TryFrom<i32> for AxisHeadCountMode
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
Source§fn try_from(value: i32) -> Result<AxisHeadCountMode, UnknownEnumValue>
fn try_from(value: i32) -> Result<AxisHeadCountMode, UnknownEnumValue>
impl Copy for AxisHeadCountMode
impl Eq for AxisHeadCountMode
impl StructuralPartialEq for AxisHeadCountMode
Auto Trait Implementations§
impl Freeze for AxisHeadCountMode
impl RefUnwindSafe for AxisHeadCountMode
impl Send for AxisHeadCountMode
impl Sync for AxisHeadCountMode
impl Unpin for AxisHeadCountMode
impl UnsafeUnpin for AxisHeadCountMode
impl UnwindSafe for AxisHeadCountMode
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].