Struct aws_sdk_connect::types::Sort
source · #[non_exhaustive]pub struct Sort {
pub field_name: SortableFieldName,
pub order: SortOrder,
}
Expand description
A structure that defineds the field name to sort by and a sort order.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.field_name: SortableFieldName
The name of the field on which to sort.
order: SortOrder
An ascending or descending sort.
Implementations§
source§impl Sort
impl Sort
sourcepub fn field_name(&self) -> &SortableFieldName
pub fn field_name(&self) -> &SortableFieldName
The name of the field on which to sort.
Trait Implementations§
source§impl PartialEq for Sort
impl PartialEq for Sort
impl StructuralPartialEq for Sort
Auto Trait Implementations§
impl Freeze for Sort
impl RefUnwindSafe for Sort
impl Send for Sort
impl Sync for Sort
impl Unpin for Sort
impl UnwindSafe for Sort
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.