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
CandlestickGranularity : The granularity of the candlesticks. The granularity of the candlesticks.
Variants§
Trait Implementations§
Source§impl Clone for CandlestickGranularity
impl Clone for CandlestickGranularity
Source§fn clone(&self) -> CandlestickGranularity
fn clone(&self) -> CandlestickGranularity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CandlestickGranularity
Source§impl Debug for CandlestickGranularity
impl Debug for CandlestickGranularity
Source§impl Default for CandlestickGranularity
impl Default for CandlestickGranularity
Source§fn default() -> CandlestickGranularity
fn default() -> CandlestickGranularity
Returns the “default value” for a type. Read more
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
impl Eq for CandlestickGranularity
Source§impl Hash for CandlestickGranularity
impl Hash for CandlestickGranularity
Source§impl Ord for CandlestickGranularity
impl Ord for CandlestickGranularity
Source§fn cmp(&self, other: &CandlestickGranularity) -> Ordering
fn cmp(&self, other: &CandlestickGranularity) -> Ordering
1.21.0 (const: unstable) · 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 CandlestickGranularity
impl PartialEq for CandlestickGranularity
Source§impl PartialOrd for CandlestickGranularity
impl PartialOrd for CandlestickGranularity
Source§impl Serialize for CandlestickGranularity
impl Serialize for CandlestickGranularity
impl StructuralPartialEq 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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.