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
impl StructuralPartialEq for ComparativeOrder
Auto Trait Implementations§
impl Freeze for ComparativeOrder
impl RefUnwindSafe for ComparativeOrder
impl Send for ComparativeOrder
impl Sync for ComparativeOrder
impl Unpin for ComparativeOrder
impl UnwindSafe for ComparativeOrder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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