pub struct TradingViewChartData {
pub status: String,
pub ticks: Vec<u64>,
pub open: Vec<f64>,
pub high: Vec<f64>,
pub low: Vec<f64>,
pub close: Vec<f64>,
pub volume: Vec<f64>,
pub cost: Vec<f64>,
}Expand description
TradingView chart data structure
Fields§
§status: StringStatus of the data
ticks: Vec<u64>Array of timestamps
open: Vec<f64>Array of open prices
high: Vec<f64>Array of high prices
low: Vec<f64>Array of low prices
close: Vec<f64>Array of close prices
volume: Vec<f64>Array of volumes
cost: Vec<f64>Array of costs
Implementations§
Trait Implementations§
Source§impl Clone for TradingViewChartData
impl Clone for TradingViewChartData
Source§fn clone(&self) -> TradingViewChartData
fn clone(&self) -> TradingViewChartData
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 TradingViewChartData
impl Debug for TradingViewChartData
Source§impl Default for TradingViewChartData
impl Default for TradingViewChartData
Source§impl<'de> Deserialize<'de> for TradingViewChartData
impl<'de> Deserialize<'de> for TradingViewChartData
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 TradingViewChartData
impl Display for TradingViewChartData
Auto Trait Implementations§
impl Freeze for TradingViewChartData
impl RefUnwindSafe for TradingViewChartData
impl Send for TradingViewChartData
impl Sync for TradingViewChartData
impl Unpin for TradingViewChartData
impl UnwindSafe for TradingViewChartData
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