pub enum Interval {
Show 18 variants
_1m,
_2m,
_5m,
_15m,
_30m,
_60m,
_90m,
_1d,
_5d,
_1mo,
_3mo,
_6mo,
_1y,
_2y,
_5y,
_10y,
_ytd,
_max,
}
Expand description
An interval use when requesting periods of quote information.
Since we cannot start the values with numbers (as they are normally represented), we start them with underscores.
m
is for minutes. mo
is for months, the rest should be self explanatory
Variants§
Implementations§
Trait Implementations§
impl Copy for Interval
Auto Trait Implementations§
impl Freeze for Interval
impl RefUnwindSafe for Interval
impl Send for Interval
impl Sync for Interval
impl Unpin for Interval
impl UnwindSafe for Interval
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