pub enum CandlestickGranularity {
Show 21 variants
S5,
S10,
S15,
S30,
M1,
M2,
M4,
M5,
M10,
M15,
M30,
H1,
H2,
H3,
H4,
H6,
H8,
H12,
D,
W,
M,
}
Expand description
The granularity of a candlestick
Variants§
Trait Implementations§
source§impl Debug for CandlestickGranularity
impl Debug for CandlestickGranularity
source§impl<'de> Deserialize<'de> for CandlestickGranularity
impl<'de> Deserialize<'de> for CandlestickGranularity
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 CandlestickGranularity
impl Display for CandlestickGranularity
source§impl FromStr for CandlestickGranularity
impl FromStr for CandlestickGranularity
Auto Trait Implementations§
impl Freeze for CandlestickGranularity
impl RefUnwindSafe for CandlestickGranularity
impl Send for CandlestickGranularity
impl Sync for CandlestickGranularity
impl Unpin for CandlestickGranularity
impl UnwindSafe for CandlestickGranularity
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