#[repr(i32)]pub enum HeatmapInterval {
INTERVAL_UNSPECIFIED = 0,
INTERVAL_1S = 1,
INTERVAL_1M = 2,
INTERVAL_5M = 3,
INTERVAL_1H = 4,
}Expand description
HeatmapInterval controls bucket resolution for historical orderbook heatmap.
Variants§
Implementations§
Source§impl HeatmapInterval
impl HeatmapInterval
Sourcepub const IntervalUnspecified: Self = Self::INTERVAL_UNSPECIFIED
pub const IntervalUnspecified: Self = Self::INTERVAL_UNSPECIFIED
Idiomatic alias for Self::INTERVAL_UNSPECIFIED; Debug prints the variant name.
Sourcepub const Interval1s: Self = Self::INTERVAL_1S
pub const Interval1s: Self = Self::INTERVAL_1S
Idiomatic alias for Self::INTERVAL_1S; Debug prints the variant name.
Sourcepub const Interval1m: Self = Self::INTERVAL_1M
pub const Interval1m: Self = Self::INTERVAL_1M
Idiomatic alias for Self::INTERVAL_1M; Debug prints the variant name.
Sourcepub const Interval5m: Self = Self::INTERVAL_5M
pub const Interval5m: Self = Self::INTERVAL_5M
Idiomatic alias for Self::INTERVAL_5M; Debug prints the variant name.
Sourcepub const Interval1h: Self = Self::INTERVAL_1H
pub const Interval1h: Self = Self::INTERVAL_1H
Idiomatic alias for Self::INTERVAL_1H; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for HeatmapInterval
impl Clone for HeatmapInterval
Source§fn clone(&self) -> HeatmapInterval
fn clone(&self) -> HeatmapInterval
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HeatmapInterval
Source§impl Debug for HeatmapInterval
impl Debug for HeatmapInterval
Source§impl Default for HeatmapInterval
impl Default for HeatmapInterval
Source§impl<'de> Deserialize<'de> for HeatmapInterval
impl<'de> Deserialize<'de> for HeatmapInterval
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Enumeration for HeatmapInterval
impl Enumeration for HeatmapInterval
Source§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
The name of this enum variant as it appears in the
.proto file.impl Eq for HeatmapInterval
Source§impl Hash for HeatmapInterval
impl Hash for HeatmapInterval
Source§impl PartialEq for HeatmapInterval
impl PartialEq for HeatmapInterval
Source§impl ProtoElemJson for HeatmapInterval
impl ProtoElemJson for HeatmapInterval
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>
Serialize this value with proto3 JSON semantics.
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>
Deserialize a value with proto3 JSON semantics.
Source§impl Serialize for HeatmapInterval
impl Serialize for HeatmapInterval
impl StructuralPartialEq for HeatmapInterval
Auto Trait Implementations§
impl Freeze for HeatmapInterval
impl RefUnwindSafe for HeatmapInterval
impl Send for HeatmapInterval
impl Sync for HeatmapInterval
impl Unpin for HeatmapInterval
impl UnsafeUnpin for HeatmapInterval
impl UnwindSafe for HeatmapInterval
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
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
Compare self to
key and return true if they are equal.