pub struct Measure {
pub id: MeasureId,
pub name: Name,
pub value_type: ValueType,
pub categories: Vec<CategoryId>,
pub kind: MeasureKind,
pub description: Option<String>,
}Expand description
A named variable defined over one or more categories, e.g. Revenue[Time, Product].
Fields§
§id: MeasureId§name: Name§value_type: ValueType§categories: Vec<CategoryId>Categories this measure is indexed by (its tensor dimensions).
kind: MeasureKind§description: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Measure
impl<'de> Deserialize<'de> for Measure
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 StructuralPartialEq for Measure
Auto Trait Implementations§
impl Freeze for Measure
impl RefUnwindSafe for Measure
impl Send for Measure
impl Sync for Measure
impl Unpin for Measure
impl UnsafeUnpin for Measure
impl UnwindSafe for Measure
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