pub struct BusinessSemantics {
pub formula: Option<String>,
pub aggregation: Option<String>,
pub unit: Option<String>,
pub grain: Option<String>,
pub time_basis: Option<String>,
pub includes: Vec<String>,
pub excludes: Vec<String>,
}Expand description
Declarative calculation semantics. Formula text is not executable in v1.
Fields§
§formula: Option<String>§aggregation: Option<String>§unit: Option<String>§grain: Option<String>§time_basis: Option<String>§includes: Vec<String>§excludes: Vec<String>Trait Implementations§
Source§impl Clone for BusinessSemantics
impl Clone for BusinessSemantics
Source§fn clone(&self) -> BusinessSemantics
fn clone(&self) -> BusinessSemantics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BusinessSemantics
impl Debug for BusinessSemantics
Source§impl Default for BusinessSemantics
impl Default for BusinessSemantics
Source§fn default() -> BusinessSemantics
fn default() -> BusinessSemantics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BusinessSemantics
impl<'de> Deserialize<'de> for BusinessSemantics
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 Eq for BusinessSemantics
Source§impl PartialEq for BusinessSemantics
impl PartialEq for BusinessSemantics
Source§impl Serialize for BusinessSemantics
impl Serialize for BusinessSemantics
impl StructuralPartialEq for BusinessSemantics
Auto Trait Implementations§
impl Freeze for BusinessSemantics
impl RefUnwindSafe for BusinessSemantics
impl Send for BusinessSemantics
impl Sync for BusinessSemantics
impl Unpin for BusinessSemantics
impl UnsafeUnpin for BusinessSemantics
impl UnwindSafe for BusinessSemantics
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.