pub enum OhlcvInterval {
Show 44 variants
Second1,
Second2,
Second3,
Second4,
Second5,
Second6,
Second10,
Second15,
Second20,
Second30,
Minute1,
Minute2,
Minute3,
Minute4,
Minute5,
Minute6,
Minute10,
Minute15,
Minute20,
Minute30,
Hour1,
Hour2,
Hour3,
Hour4,
Hour6,
Hour8,
Hour12,
Day1,
Day2,
Day3,
Day5,
Day7,
Day10,
Month1,
Month2,
Month3,
Month4,
Month6,
Year1,
Year2,
Year3,
Year4,
Year5,
Other(Ustr),
}Expand description
Provider OHLCV aggregation intervals, retaining newly added periods.
Variants§
Second1
1 second.
Second2
2 seconds.
Second3
3 seconds.
Second4
4 seconds.
Second5
5 seconds.
Second6
6 seconds.
Second10
10 seconds.
Second15
15 seconds.
Second20
20 seconds.
Second30
30 seconds.
Minute1
1 minute.
Minute2
2 minutes.
Minute3
3 minutes.
Minute4
4 minutes.
Minute5
5 minutes.
Minute6
6 minutes.
Minute10
10 minutes.
Minute15
15 minutes.
Minute20
20 minutes.
Minute30
30 minutes.
Hour1
1 hour.
Hour2
2 hours.
Hour3
3 hours.
Hour4
4 hours.
Hour6
6 hours.
Hour8
8 hours.
Hour12
12 hours.
Day1
1 day.
Day2
2 days.
Day3
3 days.
Day5
5 days.
Day7
7 days.
Day10
10 days.
Month1
1 calendar month.
Month2
2 calendar months.
Month3
3 calendar months.
Month4
4 calendar months.
Month6
6 calendar months.
Year1
1 calendar year.
Year2
2 calendar years.
Year3
3 calendar years.
Year4
4 calendar years.
Year5
5 calendar years.
Other(Ustr)
Unrecognized provider label, retained verbatim.
Trait Implementations§
Source§impl AsRef<str> for OhlcvInterval
impl AsRef<str> for OhlcvInterval
Source§impl Clone for OhlcvInterval
impl Clone for OhlcvInterval
impl Copy for OhlcvInterval
Source§impl Debug for OhlcvInterval
impl Debug for OhlcvInterval
Source§impl<'de> Deserialize<'de> for OhlcvInterval
impl<'de> Deserialize<'de> for OhlcvInterval
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for OhlcvInterval
impl Display for OhlcvInterval
impl Eq for OhlcvInterval
Source§impl From<&str> for OhlcvInterval
impl From<&str> for OhlcvInterval
Source§fn from(s: &str) -> OhlcvInterval
fn from(s: &str) -> OhlcvInterval
Converts to this type from the input type.
Source§impl FromStr for OhlcvInterval
impl FromStr for OhlcvInterval
Source§impl Hash for OhlcvInterval
impl Hash for OhlcvInterval
Source§impl PartialEq for OhlcvInterval
impl PartialEq for OhlcvInterval
Source§impl Serialize for OhlcvInterval
impl Serialize for OhlcvInterval
impl StructuralPartialEq for OhlcvInterval
Auto Trait Implementations§
impl Freeze for OhlcvInterval
impl RefUnwindSafe for OhlcvInterval
impl Send for OhlcvInterval
impl Sync for OhlcvInterval
impl Unpin for OhlcvInterval
impl UnsafeUnpin for OhlcvInterval
impl UnwindSafe for OhlcvInterval
Blanket Implementations§
impl<T> Allocation for T
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>,
§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
Compare self to
key and return true if they are equal.§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
Checks if this value is equivalent to the given key. Read more
§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
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more