pub struct JsonExport {
pub manifest: Manifest,
pub document: McdDocument,
pub tables: Vec<DataTable>,
pub views: Vec<TableViewExport>,
pub images: Vec<ImageMetadata>,
pub annotations: Vec<AnnotationMetadata>,
pub provenance: Option<ProvenanceMetadata>,
pub charts: Vec<ChartExportItem>,
}Expand description
Canonical JSON export for an MCD package.
Fields§
§manifest: ManifestParsed manifest.
document: McdDocumentParsed Markdown document.
tables: Vec<DataTable>Loaded typed tables.
views: Vec<TableViewExport>Loaded table and chart views.
images: Vec<ImageMetadata>Parsed image metadata objects.
annotations: Vec<AnnotationMetadata>Parsed annotation metadata objects.
provenance: Option<ProvenanceMetadata>Parsed package-level provenance metadata.
charts: Vec<ChartExportItem>Chart placements with exact source table and view metadata.
Trait Implementations§
Source§impl Clone for JsonExport
impl Clone for JsonExport
Source§impl Debug for JsonExport
impl Debug for JsonExport
Source§impl<'de> Deserialize<'de> for JsonExport
impl<'de> Deserialize<'de> for JsonExport
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 JsonExport
Source§impl PartialEq for JsonExport
impl PartialEq for JsonExport
Source§impl Serialize for JsonExport
impl Serialize for JsonExport
impl StructuralPartialEq for JsonExport
Auto Trait Implementations§
impl Freeze for JsonExport
impl RefUnwindSafe for JsonExport
impl Send for JsonExport
impl Sync for JsonExport
impl Unpin for JsonExport
impl UnsafeUnpin for JsonExport
impl UnwindSafe for JsonExport
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.