#[non_exhaustive]pub struct TopBottomMoversComputation {
pub computation_id: String,
pub name: Option<String>,
pub time: Option<DimensionField>,
pub category: Option<DimensionField>,
pub value: Option<MeasureField>,
pub mover_size: Option<i32>,
pub sort_order: Option<TopBottomSortOrder>,
pub type: TopBottomComputationType,
}
Expand description
The top movers and bottom movers computation setup.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.computation_id: String
The ID for a computation.
name: Option<String>
The name of a computation.
time: Option<DimensionField>
The time field that is used in a computation.
category: Option<DimensionField>
The category field that is used in a computation.
value: Option<MeasureField>
The value field that is used in a computation.
mover_size: Option<i32>
The mover size setup of the top and bottom movers computation.
sort_order: Option<TopBottomSortOrder>
The sort order setup of the top and bottom movers computation.
type: TopBottomComputationType
The computation type. Choose from the following options:
-
TOP: Top movers computation.
-
BOTTOM: Bottom movers computation.
Implementations§
source§impl TopBottomMoversComputation
impl TopBottomMoversComputation
sourcepub fn computation_id(&self) -> &str
pub fn computation_id(&self) -> &str
The ID for a computation.
sourcepub fn time(&self) -> Option<&DimensionField>
pub fn time(&self) -> Option<&DimensionField>
The time field that is used in a computation.
sourcepub fn category(&self) -> Option<&DimensionField>
pub fn category(&self) -> Option<&DimensionField>
The category field that is used in a computation.
sourcepub fn value(&self) -> Option<&MeasureField>
pub fn value(&self) -> Option<&MeasureField>
The value field that is used in a computation.
sourcepub fn mover_size(&self) -> Option<i32>
pub fn mover_size(&self) -> Option<i32>
The mover size setup of the top and bottom movers computation.
sourcepub fn sort_order(&self) -> Option<&TopBottomSortOrder>
pub fn sort_order(&self) -> Option<&TopBottomSortOrder>
The sort order setup of the top and bottom movers computation.
sourcepub fn type(&self) -> &TopBottomComputationType
pub fn type(&self) -> &TopBottomComputationType
The computation type. Choose from the following options:
-
TOP: Top movers computation.
-
BOTTOM: Bottom movers computation.
source§impl TopBottomMoversComputation
impl TopBottomMoversComputation
sourcepub fn builder() -> TopBottomMoversComputationBuilder
pub fn builder() -> TopBottomMoversComputationBuilder
Creates a new builder-style object to manufacture TopBottomMoversComputation
.
Trait Implementations§
source§impl Clone for TopBottomMoversComputation
impl Clone for TopBottomMoversComputation
source§fn clone(&self) -> TopBottomMoversComputation
fn clone(&self) -> TopBottomMoversComputation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TopBottomMoversComputation
impl Debug for TopBottomMoversComputation
source§impl PartialEq for TopBottomMoversComputation
impl PartialEq for TopBottomMoversComputation
source§fn eq(&self, other: &TopBottomMoversComputation) -> bool
fn eq(&self, other: &TopBottomMoversComputation) -> bool
self
and other
values to be equal, and is used
by ==
.