Struct aws_sdk_quicksight::types::ComparativeOrder
source · #[non_exhaustive]pub struct ComparativeOrder {
pub use_ordering: Option<ColumnOrderingType>,
pub specifed_order: Option<Vec<String>>,
pub treat_undefined_specified_values: Option<UndefinedSpecifiedValueType>,
}
Expand description
A structure that represents a comparative order.
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.use_ordering: Option<ColumnOrderingType>
The ordering type for a column. Valid values for this structure are GREATER_IS_BETTER
, LESSER_IS_BETTER
and SPECIFIED
.
specifed_order: Option<Vec<String>>
The list of columns to be used in the ordering.
treat_undefined_specified_values: Option<UndefinedSpecifiedValueType>
The treat of undefined specified values. Valid values for this structure are LEAST
and MOST
.
Implementations§
source§impl ComparativeOrder
impl ComparativeOrder
sourcepub fn use_ordering(&self) -> Option<&ColumnOrderingType>
pub fn use_ordering(&self) -> Option<&ColumnOrderingType>
The ordering type for a column. Valid values for this structure are GREATER_IS_BETTER
, LESSER_IS_BETTER
and SPECIFIED
.
sourcepub fn specifed_order(&self) -> &[String]
pub fn specifed_order(&self) -> &[String]
The list of columns to be used in the ordering.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .specifed_order.is_none()
.
sourcepub fn treat_undefined_specified_values(
&self
) -> Option<&UndefinedSpecifiedValueType>
pub fn treat_undefined_specified_values( &self ) -> Option<&UndefinedSpecifiedValueType>
The treat of undefined specified values. Valid values for this structure are LEAST
and MOST
.
source§impl ComparativeOrder
impl ComparativeOrder
sourcepub fn builder() -> ComparativeOrderBuilder
pub fn builder() -> ComparativeOrderBuilder
Creates a new builder-style object to manufacture ComparativeOrder
.
Trait Implementations§
source§impl Clone for ComparativeOrder
impl Clone for ComparativeOrder
source§fn clone(&self) -> ComparativeOrder
fn clone(&self) -> ComparativeOrder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ComparativeOrder
impl Debug for ComparativeOrder
source§impl PartialEq for ComparativeOrder
impl PartialEq for ComparativeOrder
source§fn eq(&self, other: &ComparativeOrder) -> bool
fn eq(&self, other: &ComparativeOrder) -> bool
self
and other
values to be equal, and is used
by ==
.