#[non_exhaustive]pub struct TopBottomRankedComputation {
    pub computation_id: String,
    pub name: Option<String>,
    pub category: Option<DimensionField>,
    pub value: Option<MeasureField>,
    pub result_size: Option<i32>,
    pub type: TopBottomComputationType,
}Expand description
The top ranked and bottom ranked computation configuration.
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: StringThe ID for a computation.
name: Option<String>The name of 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.
result_size: Option<i32>The result size of a top and bottom ranked computation.
type: TopBottomComputationTypeThe computation type. Choose one of the following options:
- 
TOP: A top ranked computation.
 - 
BOTTOM: A bottom ranked computation.
 
Implementations§
source§impl TopBottomRankedComputation
 
impl TopBottomRankedComputation
sourcepub fn computation_id(&self) -> &str
 
pub fn computation_id(&self) -> &str
The ID for 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 result_size(&self) -> Option<i32>
 
pub fn result_size(&self) -> Option<i32>
The result size of a top and bottom ranked computation.
sourcepub fn type(&self) -> &TopBottomComputationType
 
pub fn type(&self) -> &TopBottomComputationType
The computation type. Choose one of the following options:
- 
TOP: A top ranked computation.
 - 
BOTTOM: A bottom ranked computation.
 
source§impl TopBottomRankedComputation
 
impl TopBottomRankedComputation
sourcepub fn builder() -> TopBottomRankedComputationBuilder
 
pub fn builder() -> TopBottomRankedComputationBuilder
Creates a new builder-style object to manufacture TopBottomRankedComputation.
Trait Implementations§
source§impl Clone for TopBottomRankedComputation
 
impl Clone for TopBottomRankedComputation
source§fn clone(&self) -> TopBottomRankedComputation
 
fn clone(&self) -> TopBottomRankedComputation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TopBottomRankedComputation
 
impl Debug for TopBottomRankedComputation
source§impl PartialEq for TopBottomRankedComputation
 
impl PartialEq for TopBottomRankedComputation
source§fn eq(&self, other: &TopBottomRankedComputation) -> bool
 
fn eq(&self, other: &TopBottomRankedComputation) -> bool
self and other values to be equal, and is used
by ==.