pub enum Granularity {
Value60 = 60,
Value120 = 120,
Value180 = 180,
Value300 = 300,
Value600 = 600,
Value900 = 900,
Value1800 = 1_800,
Value3600 = 3_600,
Value7200 = 7_200,
Value14400 = 14_400,
Value28800 = 28_800,
Value86400 = 86_400,
}
Expand description
[Optional] Only applicable for style: candles
. Candle time-dimension width setting. (default: 60
).
Variants§
Value60 = 60
Value120 = 120
Value180 = 180
Value300 = 300
Value600 = 600
Value900 = 900
Value1800 = 1_800
Value3600 = 3_600
Value7200 = 7_200
Value14400 = 14_400
Value28800 = 28_800
Value86400 = 86_400
Trait Implementations§
Source§impl Clone for Granularity
impl Clone for Granularity
Source§fn clone(&self) -> Granularity
fn clone(&self) -> Granularity
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 Granularity
impl Debug for Granularity
Source§impl<'de> Deserialize<'de> for Granularity
impl<'de> Deserialize<'de> for Granularity
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
Auto Trait Implementations§
impl Freeze for Granularity
impl RefUnwindSafe for Granularity
impl Send for Granularity
impl Sync for Granularity
impl Unpin for Granularity
impl UnwindSafe for Granularity
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