pub enum TimeframeUnit {
Ticks,
Seconds,
Minutes,
Daily,
Weekly,
Monthly,
}Expand description
The unit of a Timeframe. Pine writes each as a suffix on the multiplier
("3D", "5S", "1W"); minutes have no suffix ("60").
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TimeframeUnit
impl Clone for TimeframeUnit
Source§fn clone(&self) -> TimeframeUnit
fn clone(&self) -> TimeframeUnit
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 TimeframeUnit
Source§impl Debug for TimeframeUnit
impl Debug for TimeframeUnit
impl Eq for TimeframeUnit
Source§impl PartialEq for TimeframeUnit
impl PartialEq for TimeframeUnit
impl StructuralPartialEq for TimeframeUnit
Auto Trait Implementations§
impl Freeze for TimeframeUnit
impl RefUnwindSafe for TimeframeUnit
impl Send for TimeframeUnit
impl Sync for TimeframeUnit
impl Unpin for TimeframeUnit
impl UnsafeUnpin for TimeframeUnit
impl UnwindSafe for TimeframeUnit
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