#[repr(i32)]pub enum GeoHistogramSection {
Unspecified = 0,
Fine = 1,
Coarse = 2,
}Expand description
ONE geo cell-count histogram frame (waratah_stats::GeoCellHistogram
section bytes, self-versioned encode_body). A frame carries exactly
ONE map — the unrequested maps arrive EMPTY — because merge is
per-key additive, a subset-populated section is a valid merge input on
its own. Zero is the proto3 default, so it stays UNSPECIFIED: a caller
that omits section (or sends an unknown value) is rejected by the
handler rather than silently served the fine frame.
Variants§
Unspecified = 0
Fine = 1
Fine L11 buckets plus the remainder summary of trimmed fine mass.
Coarse = 2
The native-id count-once coarse map (levels 0–8).
Implementations§
Source§impl GeoHistogramSection
impl GeoHistogramSection
Sourcepub const fn is_valid(value: i32) -> bool
pub const fn is_valid(value: i32) -> bool
Returns true if value is a variant of GeoHistogramSection.
Sourcepub fn from_i32(value: i32) -> Option<GeoHistogramSection>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<GeoHistogramSection>
Use the TryFrom<i32> implementation instead
Converts an i32 to a GeoHistogramSection, or None if value is not a valid variant.
Source§impl GeoHistogramSection
impl GeoHistogramSection
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 GeoHistogramSection
impl Clone for GeoHistogramSection
Source§fn clone(&self) -> GeoHistogramSection
fn clone(&self) -> GeoHistogramSection
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GeoHistogramSection
impl Debug for GeoHistogramSection
Source§impl Default for GeoHistogramSection
impl Default for GeoHistogramSection
Source§fn default() -> GeoHistogramSection
fn default() -> GeoHistogramSection
Source§impl From<GeoHistogramSection> for i32
impl From<GeoHistogramSection> for i32
Source§fn from(value: GeoHistogramSection) -> i32
fn from(value: GeoHistogramSection) -> i32
Source§impl Hash for GeoHistogramSection
impl Hash for GeoHistogramSection
Source§impl Ord for GeoHistogramSection
impl Ord for GeoHistogramSection
Source§fn cmp(&self, other: &GeoHistogramSection) -> Ordering
fn cmp(&self, other: &GeoHistogramSection) -> 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 GeoHistogramSection
impl PartialEq for GeoHistogramSection
Source§impl PartialOrd for GeoHistogramSection
impl PartialOrd for GeoHistogramSection
Source§impl TryFrom<i32> for GeoHistogramSection
impl TryFrom<i32> for GeoHistogramSection
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
Source§fn try_from(value: i32) -> Result<GeoHistogramSection, UnknownEnumValue>
fn try_from(value: i32) -> Result<GeoHistogramSection, UnknownEnumValue>
impl Copy for GeoHistogramSection
impl Eq for GeoHistogramSection
impl StructuralPartialEq for GeoHistogramSection
Auto Trait Implementations§
impl Freeze for GeoHistogramSection
impl RefUnwindSafe for GeoHistogramSection
impl Send for GeoHistogramSection
impl Sync for GeoHistogramSection
impl Unpin for GeoHistogramSection
impl UnsafeUnpin for GeoHistogramSection
impl UnwindSafe for GeoHistogramSection
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].