pub struct DBMVDimension {
pub name: String,
pub expr: String,
pub display_name: Option<String>,
pub comment: Option<String>,
}Expand description
Dimension definition in a metric view
Fields§
§name: StringDimension name
expr: StringSQL expression for the dimension
display_name: Option<String>Human-readable display name
comment: Option<String>Optional comment/description
Trait Implementations§
Source§impl Clone for DBMVDimension
impl Clone for DBMVDimension
Source§fn clone(&self) -> DBMVDimension
fn clone(&self) -> DBMVDimension
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 DBMVDimension
impl Debug for DBMVDimension
Source§impl<'de> Deserialize<'de> for DBMVDimension
impl<'de> Deserialize<'de> for DBMVDimension
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 DBMVDimension
impl PartialEq for DBMVDimension
Source§impl Serialize for DBMVDimension
impl Serialize for DBMVDimension
impl StructuralPartialEq for DBMVDimension
Auto Trait Implementations§
impl Freeze for DBMVDimension
impl RefUnwindSafe for DBMVDimension
impl Send for DBMVDimension
impl Sync for DBMVDimension
impl Unpin for DBMVDimension
impl UnsafeUnpin for DBMVDimension
impl UnwindSafe for DBMVDimension
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