pub enum BinanceKlineInterval {
Show 16 variants
Second1,
Minute1,
Minute3,
Minute5,
Minute15,
Minute30,
Hour1,
Hour2,
Hour4,
Hour6,
Hour8,
Hour12,
Day1,
Day3,
Week1,
Month1,
}Expand description
Kline interval enumeration.
§References
Variants§
Second1
1 second (only for spot).
Minute1
1 minute.
Minute3
3 minutes.
Minute5
5 minutes.
Minute15
15 minutes.
Minute30
30 minutes.
Hour1
1 hour.
Hour2
2 hours.
Hour4
4 hours.
Hour6
6 hours.
Hour8
8 hours.
Hour12
12 hours.
Day1
1 day.
Day3
3 days.
Week1
1 week.
Month1
1 month.
Implementations§
Trait Implementations§
Source§impl Clone for BinanceKlineInterval
impl Clone for BinanceKlineInterval
Source§fn clone(&self) -> BinanceKlineInterval
fn clone(&self) -> BinanceKlineInterval
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BinanceKlineInterval
impl Debug for BinanceKlineInterval
Source§impl Default for BinanceKlineInterval
impl Default for BinanceKlineInterval
Source§fn default() -> BinanceKlineInterval
fn default() -> BinanceKlineInterval
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BinanceKlineInterval
impl<'de> Deserialize<'de> for BinanceKlineInterval
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 BinanceKlineInterval
impl Display for BinanceKlineInterval
Source§impl Hash for BinanceKlineInterval
impl Hash for BinanceKlineInterval
Source§impl PartialEq for BinanceKlineInterval
impl PartialEq for BinanceKlineInterval
Source§impl Serialize for BinanceKlineInterval
impl Serialize for BinanceKlineInterval
impl Copy for BinanceKlineInterval
impl Eq for BinanceKlineInterval
impl StructuralPartialEq for BinanceKlineInterval
Auto Trait Implementations§
impl Freeze for BinanceKlineInterval
impl RefUnwindSafe for BinanceKlineInterval
impl Send for BinanceKlineInterval
impl Sync for BinanceKlineInterval
impl Unpin for BinanceKlineInterval
impl UnwindSafe for BinanceKlineInterval
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
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<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>
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§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.