#[repr(i32)]pub enum ChainAnalyticsRange {
RANGE_UNSPECIFIED = 0,
DAY_1 = 1,
DAY_7 = 2,
DAY_30 = 3,
DAY_90 = 4,
DAY_180 = 5,
DAY_365 = 6,
}Expand description
ChainAnalyticsRange selects a standard chart window and default bucket size.
Variants§
RANGE_UNSPECIFIED = 0
Default chart range. The server treats this as 1 day.
DAY_1 = 1
1 day.
DAY_7 = 2
7 days.
DAY_30 = 3
30 days.
DAY_90 = 4
90 days.
DAY_180 = 5
180 days.
DAY_365 = 6
365 days.
Implementations§
Source§impl ChainAnalyticsRange
impl ChainAnalyticsRange
Sourcepub const RangeUnspecified: Self = Self::RANGE_UNSPECIFIED
pub const RangeUnspecified: Self = Self::RANGE_UNSPECIFIED
Idiomatic alias for Self::RANGE_UNSPECIFIED; Debug prints the variant name.
Sourcepub const Day1: Self = Self::DAY_1
pub const Day1: Self = Self::DAY_1
Idiomatic alias for Self::DAY_1; Debug prints the variant name.
Sourcepub const Day7: Self = Self::DAY_7
pub const Day7: Self = Self::DAY_7
Idiomatic alias for Self::DAY_7; Debug prints the variant name.
Sourcepub const Day30: Self = Self::DAY_30
pub const Day30: Self = Self::DAY_30
Idiomatic alias for Self::DAY_30; Debug prints the variant name.
Sourcepub const Day90: Self = Self::DAY_90
pub const Day90: Self = Self::DAY_90
Idiomatic alias for Self::DAY_90; Debug prints the variant name.
Sourcepub const Day180: Self = Self::DAY_180
pub const Day180: Self = Self::DAY_180
Idiomatic alias for Self::DAY_180; Debug prints the variant name.
Sourcepub const Day365: Self = Self::DAY_365
pub const Day365: Self = Self::DAY_365
Idiomatic alias for Self::DAY_365; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for ChainAnalyticsRange
impl Clone for ChainAnalyticsRange
Source§fn clone(&self) -> ChainAnalyticsRange
fn clone(&self) -> ChainAnalyticsRange
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 ChainAnalyticsRange
Source§impl Debug for ChainAnalyticsRange
impl Debug for ChainAnalyticsRange
Source§impl Default for ChainAnalyticsRange
impl Default for ChainAnalyticsRange
Source§impl<'de> Deserialize<'de> for ChainAnalyticsRange
impl<'de> Deserialize<'de> for ChainAnalyticsRange
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 ChainAnalyticsRange
impl Enumeration for ChainAnalyticsRange
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 ChainAnalyticsRange
Source§impl Hash for ChainAnalyticsRange
impl Hash for ChainAnalyticsRange
Source§impl PartialEq for ChainAnalyticsRange
impl PartialEq for ChainAnalyticsRange
Source§impl ProtoElemJson for ChainAnalyticsRange
impl ProtoElemJson for ChainAnalyticsRange
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 ChainAnalyticsRange
impl Serialize for ChainAnalyticsRange
impl StructuralPartialEq for ChainAnalyticsRange
Auto Trait Implementations§
impl Freeze for ChainAnalyticsRange
impl RefUnwindSafe for ChainAnalyticsRange
impl Send for ChainAnalyticsRange
impl Sync for ChainAnalyticsRange
impl Unpin for ChainAnalyticsRange
impl UnsafeUnpin for ChainAnalyticsRange
impl UnwindSafe for ChainAnalyticsRange
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.