pub enum KlineCandlestickDataInterval {
Show 15 variants
_1s,
_1m,
_3m,
_5m,
_15m,
_30m,
_1h,
_2h,
_4h,
_6h,
_8h,
_12h,
_1d,
_3d,
_1w,
}
Expand description
KlineCandlestickDataInterval
JSON schema
{
"examples": [
"\"1m\""
],
"type": "string",
"enum": [
"1s",
"1m",
"3m",
"5m",
"15m",
"30m",
"1h",
"2h",
"4h",
"6h",
"8h",
"12h",
"1d",
"3d",
"1w"
]
}
Variants§
Trait Implementations§
Source§impl Clone for KlineCandlestickDataInterval
impl Clone for KlineCandlestickDataInterval
Source§fn clone(&self) -> KlineCandlestickDataInterval
fn clone(&self) -> KlineCandlestickDataInterval
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 KlineCandlestickDataInterval
impl Debug for KlineCandlestickDataInterval
Source§impl<'de> Deserialize<'de> for KlineCandlestickDataInterval
impl<'de> Deserialize<'de> for KlineCandlestickDataInterval
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 From<&KlineCandlestickDataInterval> for KlineCandlestickDataInterval
impl From<&KlineCandlestickDataInterval> for KlineCandlestickDataInterval
Source§fn from(value: &KlineCandlestickDataInterval) -> Self
fn from(value: &KlineCandlestickDataInterval) -> Self
Converts to this type from the input type.
Source§impl Hash for KlineCandlestickDataInterval
impl Hash for KlineCandlestickDataInterval
Source§impl Ord for KlineCandlestickDataInterval
impl Ord for KlineCandlestickDataInterval
Source§fn cmp(&self, other: &KlineCandlestickDataInterval) -> Ordering
fn cmp(&self, other: &KlineCandlestickDataInterval) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for KlineCandlestickDataInterval
impl PartialEq for KlineCandlestickDataInterval
Source§fn eq(&self, other: &KlineCandlestickDataInterval) -> bool
fn eq(&self, other: &KlineCandlestickDataInterval) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for KlineCandlestickDataInterval
impl PartialOrd for KlineCandlestickDataInterval
Source§impl TryFrom<&String> for KlineCandlestickDataInterval
impl TryFrom<&String> for KlineCandlestickDataInterval
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for KlineCandlestickDataInterval
impl TryFrom<&str> for KlineCandlestickDataInterval
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for KlineCandlestickDataInterval
impl TryFrom<String> for KlineCandlestickDataInterval
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for KlineCandlestickDataInterval
impl Eq for KlineCandlestickDataInterval
impl StructuralPartialEq for KlineCandlestickDataInterval
Auto Trait Implementations§
impl Freeze for KlineCandlestickDataInterval
impl RefUnwindSafe for KlineCandlestickDataInterval
impl Send for KlineCandlestickDataInterval
impl Sync for KlineCandlestickDataInterval
impl Unpin for KlineCandlestickDataInterval
impl UnwindSafe for KlineCandlestickDataInterval
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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.