pub struct DBMVMetricView {
pub name: String,
pub version: String,
pub source: String,
pub filter: Option<String>,
pub comment: Option<String>,
pub dimensions: Vec<DBMVDimension>,
pub measures: Vec<DBMVMeasure>,
pub joins: Vec<DBMVJoin>,
pub materialization: Option<DBMVMaterialization>,
}Expand description
Databricks Metric View definition
Uses snake_case (Rust default) to match Databricks native YAML format.
Fields§
§name: StringMetric view name
version: StringVersion of the metric view definition
source: StringFully qualified source table (e.g., “catalog.schema.table”)
filter: Option<String>Optional SQL filter expression applied to the source
comment: Option<String>Optional comment/description
dimensions: Vec<DBMVDimension>Dimension definitions
measures: Vec<DBMVMeasure>Measure definitions
joins: Vec<DBMVJoin>Join definitions (supports nested joins for snowflake schemas)
materialization: Option<DBMVMaterialization>Materialization configuration
Trait Implementations§
Source§impl Clone for DBMVMetricView
impl Clone for DBMVMetricView
Source§fn clone(&self) -> DBMVMetricView
fn clone(&self) -> DBMVMetricView
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 DBMVMetricView
impl Debug for DBMVMetricView
Source§impl Default for DBMVMetricView
impl Default for DBMVMetricView
Source§impl<'de> Deserialize<'de> for DBMVMetricView
impl<'de> Deserialize<'de> for DBMVMetricView
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 DBMVMetricView
impl PartialEq for DBMVMetricView
Source§impl Serialize for DBMVMetricView
impl Serialize for DBMVMetricView
impl StructuralPartialEq for DBMVMetricView
Auto Trait Implementations§
impl Freeze for DBMVMetricView
impl RefUnwindSafe for DBMVMetricView
impl Send for DBMVMetricView
impl Sync for DBMVMetricView
impl Unpin for DBMVMetricView
impl UnsafeUnpin for DBMVMetricView
impl UnwindSafe for DBMVMetricView
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