#[repr(i32)]pub enum HeatmapDepth {
DEPTH_UNSPECIFIED = 0,
DEPTH_1 = 1,
DEPTH_5 = 2,
DEPTH_10 = 3,
DEPTH_20 = 4,
DEPTH_50 = 5,
DEPTH_100 = 6,
DEPTH_200 = 7,
DEPTH_500 = 8,
DEPTH_1000 = 9,
}Expand description
HeatmapDepth controls top-N levels included per side in each heatmap bucket.
Values intentionally mirror orderbook.v1.Depth for FE ergonomics, while keeping this contract decoupled from orderbook service protos.
Variants§
DEPTH_UNSPECIFIED = 0
DEPTH_1 = 1
DEPTH_5 = 2
DEPTH_10 = 3
DEPTH_20 = 4
DEPTH_50 = 5
DEPTH_100 = 6
DEPTH_200 = 7
DEPTH_500 = 8
DEPTH_1000 = 9
Implementations§
Source§impl HeatmapDepth
impl HeatmapDepth
Sourcepub const DepthUnspecified: Self = Self::DEPTH_UNSPECIFIED
pub const DepthUnspecified: Self = Self::DEPTH_UNSPECIFIED
Idiomatic alias for Self::DEPTH_UNSPECIFIED; Debug prints the variant name.
Sourcepub const Depth1: Self = Self::DEPTH_1
pub const Depth1: Self = Self::DEPTH_1
Idiomatic alias for Self::DEPTH_1; Debug prints the variant name.
Sourcepub const Depth5: Self = Self::DEPTH_5
pub const Depth5: Self = Self::DEPTH_5
Idiomatic alias for Self::DEPTH_5; Debug prints the variant name.
Sourcepub const Depth10: Self = Self::DEPTH_10
pub const Depth10: Self = Self::DEPTH_10
Idiomatic alias for Self::DEPTH_10; Debug prints the variant name.
Sourcepub const Depth20: Self = Self::DEPTH_20
pub const Depth20: Self = Self::DEPTH_20
Idiomatic alias for Self::DEPTH_20; Debug prints the variant name.
Sourcepub const Depth50: Self = Self::DEPTH_50
pub const Depth50: Self = Self::DEPTH_50
Idiomatic alias for Self::DEPTH_50; Debug prints the variant name.
Sourcepub const Depth100: Self = Self::DEPTH_100
pub const Depth100: Self = Self::DEPTH_100
Idiomatic alias for Self::DEPTH_100; Debug prints the variant name.
Sourcepub const Depth200: Self = Self::DEPTH_200
pub const Depth200: Self = Self::DEPTH_200
Idiomatic alias for Self::DEPTH_200; Debug prints the variant name.
Sourcepub const Depth500: Self = Self::DEPTH_500
pub const Depth500: Self = Self::DEPTH_500
Idiomatic alias for Self::DEPTH_500; Debug prints the variant name.
Sourcepub const Depth1000: Self = Self::DEPTH_1000
pub const Depth1000: Self = Self::DEPTH_1000
Idiomatic alias for Self::DEPTH_1000; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for HeatmapDepth
impl Clone for HeatmapDepth
Source§fn clone(&self) -> HeatmapDepth
fn clone(&self) -> HeatmapDepth
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for HeatmapDepth
Source§impl Debug for HeatmapDepth
impl Debug for HeatmapDepth
Source§impl Default for HeatmapDepth
impl Default for HeatmapDepth
Source§impl<'de> Deserialize<'de> for HeatmapDepth
impl<'de> Deserialize<'de> for HeatmapDepth
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Source§impl Enumeration for HeatmapDepth
impl Enumeration for HeatmapDepth
Source§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
.proto file.impl Eq for HeatmapDepth
Source§impl Hash for HeatmapDepth
impl Hash for HeatmapDepth
Source§impl PartialEq for HeatmapDepth
impl PartialEq for HeatmapDepth
Source§impl ProtoElemJson for HeatmapDepth
impl ProtoElemJson for HeatmapDepth
Source§fn serialize_proto_json<S: Serializer>(
v: &Self,
s: S,
) -> Result<S::Ok, S::Error>
fn serialize_proto_json<S: Serializer>( v: &Self, s: S, ) -> Result<S::Ok, S::Error>
Source§fn deserialize_proto_json<'de, D: Deserializer<'de>>(
d: D,
) -> Result<Self, D::Error>
fn deserialize_proto_json<'de, D: Deserializer<'de>>( d: D, ) -> Result<Self, D::Error>
Source§impl Serialize for HeatmapDepth
impl Serialize for HeatmapDepth
impl StructuralPartialEq for HeatmapDepth
Auto Trait Implementations§
impl Freeze for HeatmapDepth
impl RefUnwindSafe for HeatmapDepth
impl Send for HeatmapDepth
impl Sync for HeatmapDepth
impl Unpin for HeatmapDepth
impl UnsafeUnpin for HeatmapDepth
impl UnwindSafe for HeatmapDepth
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.