pub struct ChartExportItem {
pub block_id: String,
pub placement_ref: Option<String>,
pub table_id: String,
pub view_id: String,
pub caption: Option<String>,
pub source: Option<SourceSpan>,
pub view: TableView,
pub rows: Vec<TableRow>,
}Expand description
One chart placement backed by a table view.
Fields§
§block_id: StringDocument block id for the chart placement.
placement_ref: Option<String>Optional placement ref from Markdown.
table_id: StringSource table id.
view_id: StringSource chart view id.
caption: Option<String>Placement caption, if any.
source: Option<SourceSpan>Source span of the chart placement.
view: TableViewParsed chart view metadata.
rows: Vec<TableRow>Exact typed source rows used by the chart.
Trait Implementations§
Source§impl Clone for ChartExportItem
impl Clone for ChartExportItem
Source§impl Debug for ChartExportItem
impl Debug for ChartExportItem
Source§impl<'de> Deserialize<'de> for ChartExportItem
impl<'de> Deserialize<'de> for ChartExportItem
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
impl Eq for ChartExportItem
Source§impl PartialEq for ChartExportItem
impl PartialEq for ChartExportItem
Source§impl Serialize for ChartExportItem
impl Serialize for ChartExportItem
impl StructuralPartialEq for ChartExportItem
Auto Trait Implementations§
impl Freeze for ChartExportItem
impl RefUnwindSafe for ChartExportItem
impl Send for ChartExportItem
impl Sync for ChartExportItem
impl Unpin for ChartExportItem
impl UnsafeUnpin for ChartExportItem
impl UnwindSafe for ChartExportItem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.