pub struct DBMVMeasure {
pub name: String,
pub expr: String,
pub display_name: Option<String>,
pub comment: Option<String>,
pub format: Option<DBMVMeasureFormat>,
pub window: Vec<DBMVWindow>,
}Expand description
Measure definition in a metric view
Fields§
§name: StringMeasure name
expr: StringSQL aggregation expression (e.g., “SUM(revenue)”)
display_name: Option<String>Human-readable display name
comment: Option<String>Optional comment/description
format: Option<DBMVMeasureFormat>Format specification for the measure
window: Vec<DBMVWindow>Window function specifications
Trait Implementations§
Source§impl Clone for DBMVMeasure
impl Clone for DBMVMeasure
Source§fn clone(&self) -> DBMVMeasure
fn clone(&self) -> DBMVMeasure
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 DBMVMeasure
impl Debug for DBMVMeasure
Source§impl<'de> Deserialize<'de> for DBMVMeasure
impl<'de> Deserialize<'de> for DBMVMeasure
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 DBMVMeasure
impl PartialEq for DBMVMeasure
Source§impl Serialize for DBMVMeasure
impl Serialize for DBMVMeasure
impl StructuralPartialEq for DBMVMeasure
Auto Trait Implementations§
impl Freeze for DBMVMeasure
impl RefUnwindSafe for DBMVMeasure
impl Send for DBMVMeasure
impl Sync for DBMVMeasure
impl Unpin for DBMVMeasure
impl UnsafeUnpin for DBMVMeasure
impl UnwindSafe for DBMVMeasure
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