pub struct DBMVExporter;Expand description
DBMV exporter for generating Databricks Metric Views YAML
Implementations§
Source§impl DBMVExporter
impl DBMVExporter
Sourcepub fn export(&self, doc: &DBMVDocument) -> Result<String, ExportError>
pub fn export(&self, doc: &DBMVDocument) -> Result<String, ExportError>
Export a DBMV document to YAML format (instance method for WASM compatibility)
Validates against the DBMV JSON Schema if the schema-validation feature is enabled.
Sourcepub fn export_document(doc: &DBMVDocument) -> String
pub fn export_document(doc: &DBMVDocument) -> String
Export a full multi-view DBMV document to YAML
Sourcepub fn export_single_view(view: &DBMVMetricView) -> String
pub fn export_single_view(view: &DBMVMetricView) -> String
Export a single standalone Databricks metric view to YAML (no wrapper envelope)
Auto Trait Implementations§
impl Freeze for DBMVExporter
impl RefUnwindSafe for DBMVExporter
impl Send for DBMVExporter
impl Sync for DBMVExporter
impl Unpin for DBMVExporter
impl UnsafeUnpin for DBMVExporter
impl UnwindSafe for DBMVExporter
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