pub struct FactTableDeclarationMetadata {
pub aggregation_strategy: AggregationStrategy,
pub grain: Vec<String>,
pub snapshot_date_column: Option<String>,
pub is_slowly_changing_dimension: bool,
}Expand description
Metadata for explicitly declared fact tables
Fields§
§aggregation_strategy: AggregationStrategyAggregation strategy (how data is updated)
grain: Vec<String>Grain of the fact table (combination of dimensions that makes a unique record)
snapshot_date_column: Option<String>Column containing snapshot date (for periodic snapshots)
is_slowly_changing_dimension: boolWhether this is a slowly changing dimension
Trait Implementations§
Source§impl Clone for FactTableDeclarationMetadata
impl Clone for FactTableDeclarationMetadata
Source§fn clone(&self) -> FactTableDeclarationMetadata
fn clone(&self) -> FactTableDeclarationMetadata
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 FactTableDeclarationMetadata
impl Debug for FactTableDeclarationMetadata
Source§impl<'de> Deserialize<'de> for FactTableDeclarationMetadata
impl<'de> Deserialize<'de> for FactTableDeclarationMetadata
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 FactTableDeclarationMetadata
impl PartialEq for FactTableDeclarationMetadata
Source§fn eq(&self, other: &FactTableDeclarationMetadata) -> bool
fn eq(&self, other: &FactTableDeclarationMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FactTableDeclarationMetadata
Auto Trait Implementations§
impl Freeze for FactTableDeclarationMetadata
impl RefUnwindSafe for FactTableDeclarationMetadata
impl Send for FactTableDeclarationMetadata
impl Sync for FactTableDeclarationMetadata
impl Unpin for FactTableDeclarationMetadata
impl UnsafeUnpin for FactTableDeclarationMetadata
impl UnwindSafe for FactTableDeclarationMetadata
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