pub struct AnalyzedChart {
pub id: String,
pub chart_type: ChartType,
pub title: Option<String>,
pub axes: ChartAxes,
pub data_points: Vec<DataPoint>,
pub trends: Option<TrendAnalysis>,
pub description: Option<String>,
pub embedding: Option<Vec<f32>>,
}Expand description
Analyzed chart data
Fields§
§id: StringChart ID
chart_type: ChartTypeChart type
title: Option<String>Chart title
axes: ChartAxesAxis labels
data_points: Vec<DataPoint>Data points
trends: Option<TrendAnalysis>Trend analysis
description: Option<String>Description
embedding: Option<Vec<f32>>Chart embedding
Trait Implementations§
Source§impl Clone for AnalyzedChart
impl Clone for AnalyzedChart
Source§fn clone(&self) -> AnalyzedChart
fn clone(&self) -> AnalyzedChart
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 AnalyzedChart
impl Debug for AnalyzedChart
Source§impl<'de> Deserialize<'de> for AnalyzedChart
impl<'de> Deserialize<'de> for AnalyzedChart
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 AnalyzedChart
impl RefUnwindSafe for AnalyzedChart
impl Send for AnalyzedChart
impl Sync for AnalyzedChart
impl Unpin for AnalyzedChart
impl UnwindSafe for AnalyzedChart
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