Enum fxoanda::CandlestickGranularity
source · 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<CandlestickGranularity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<CandlestickGranularity, <__D as Deserializer<'de>>::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
source§impl Serialize for CandlestickGranularity
impl Serialize for CandlestickGranularity
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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