#[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 ==
.impl StructuralPartialEq for TopBottomMoversComputation
Auto Trait Implementations§
impl Freeze for TopBottomMoversComputation
impl RefUnwindSafe for TopBottomMoversComputation
impl Send for TopBottomMoversComputation
impl Sync for TopBottomMoversComputation
impl Unpin for TopBottomMoversComputation
impl UnwindSafe for TopBottomMoversComputation
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more