#[non_exhaustive]pub enum SeriesData {
Ohlc(OhlcColumns),
Value(ValueColumns),
}Expand description
Data for set_data / append / prepend.
Custom (plugin) series data arrives with the plugin interface in M5.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ohlc(OhlcColumns)
OHLC(V) bars: Candlestick, OhlcBar, HeikinAshi.
Value(ValueColumns)
Single values: Line, Area, Baseline, Histogram.
Trait Implementations§
Source§impl Clone for SeriesData
impl Clone for SeriesData
Source§impl Debug for SeriesData
impl Debug for SeriesData
Source§impl From<OhlcColumns> for SeriesData
impl From<OhlcColumns> for SeriesData
Source§fn from(c: OhlcColumns) -> Self
fn from(c: OhlcColumns) -> Self
Converts to this type from the input type.
Source§impl From<ValueColumns> for SeriesData
impl From<ValueColumns> for SeriesData
Source§fn from(c: ValueColumns) -> Self
fn from(c: ValueColumns) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SeriesData
impl PartialEq for SeriesData
impl StructuralPartialEq for SeriesData
Auto Trait Implementations§
impl Forget for SeriesData
impl Freeze for SeriesData
impl Move for SeriesData
impl RefUnwindSafe for SeriesData
impl Send for SeriesData
impl Sync for SeriesData
impl Unpin for SeriesData
impl UnsafeUnpin for SeriesData
impl UnwindSafe for SeriesData
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