pub enum UiKlinesInterval {
Show 15 variants
_1s,
_1m,
_3m,
_5m,
_15m,
_30m,
_1h,
_2h,
_4h,
_6h,
_8h,
_12h,
_1d,
_3d,
_1w,
}
Expand description
UiKlinesInterval
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 UiKlinesInterval
impl Clone for UiKlinesInterval
Source§fn clone(&self) -> UiKlinesInterval
fn clone(&self) -> UiKlinesInterval
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 UiKlinesInterval
impl Debug for UiKlinesInterval
Source§impl<'de> Deserialize<'de> for UiKlinesInterval
impl<'de> Deserialize<'de> for UiKlinesInterval
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<&UiKlinesInterval> for UiKlinesInterval
impl From<&UiKlinesInterval> for UiKlinesInterval
Source§fn from(value: &UiKlinesInterval) -> Self
fn from(value: &UiKlinesInterval) -> Self
Converts to this type from the input type.
Source§impl FromStr for UiKlinesInterval
impl FromStr for UiKlinesInterval
Source§impl Hash for UiKlinesInterval
impl Hash for UiKlinesInterval
Source§impl Ord for UiKlinesInterval
impl Ord for UiKlinesInterval
Source§fn cmp(&self, other: &UiKlinesInterval) -> Ordering
fn cmp(&self, other: &UiKlinesInterval) -> 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 UiKlinesInterval
impl PartialEq for UiKlinesInterval
Source§impl PartialOrd for UiKlinesInterval
impl PartialOrd for UiKlinesInterval
Source§impl Serialize for UiKlinesInterval
impl Serialize for UiKlinesInterval
Source§impl ToString for UiKlinesInterval
impl ToString for UiKlinesInterval
Source§impl TryFrom<&String> for UiKlinesInterval
impl TryFrom<&String> for UiKlinesInterval
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for UiKlinesInterval
impl TryFrom<&str> for UiKlinesInterval
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for UiKlinesInterval
impl TryFrom<String> for UiKlinesInterval
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for UiKlinesInterval
impl Eq for UiKlinesInterval
impl StructuralPartialEq for UiKlinesInterval
Auto Trait Implementations§
impl Freeze for UiKlinesInterval
impl RefUnwindSafe for UiKlinesInterval
impl Send for UiKlinesInterval
impl Sync for UiKlinesInterval
impl Unpin for UiKlinesInterval
impl UnwindSafe for UiKlinesInterval
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.