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§fn clone(&self) -> ChartExportItem
fn clone(&self) -> ChartExportItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 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
Source§impl PartialEq for ChartExportItem
impl PartialEq for ChartExportItem
Source§fn eq(&self, other: &ChartExportItem) -> bool
fn eq(&self, other: &ChartExportItem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChartExportItem
impl Serialize for ChartExportItem
impl Eq 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,
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.