Struct aws_sdk_connect::types::builders::SortBuilder
source · #[non_exhaustive]pub struct SortBuilder { /* private fields */ }
Expand description
A builder for Sort
.
Implementations§
source§impl SortBuilder
impl SortBuilder
sourcepub fn field_name(self, input: SortableFieldName) -> Self
pub fn field_name(self, input: SortableFieldName) -> Self
The name of the field on which to sort.
This field is required.sourcepub fn set_field_name(self, input: Option<SortableFieldName>) -> Self
pub fn set_field_name(self, input: Option<SortableFieldName>) -> Self
The name of the field on which to sort.
sourcepub fn get_field_name(&self) -> &Option<SortableFieldName>
pub fn get_field_name(&self) -> &Option<SortableFieldName>
The name of the field on which to sort.
sourcepub fn order(self, input: SortOrder) -> Self
pub fn order(self, input: SortOrder) -> Self
An ascending or descending sort.
This field is required.Trait Implementations§
source§impl Clone for SortBuilder
impl Clone for SortBuilder
source§fn clone(&self) -> SortBuilder
fn clone(&self) -> SortBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SortBuilder
impl Debug for SortBuilder
source§impl Default for SortBuilder
impl Default for SortBuilder
source§fn default() -> SortBuilder
fn default() -> SortBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SortBuilder
impl PartialEq for SortBuilder
source§fn eq(&self, other: &SortBuilder) -> bool
fn eq(&self, other: &SortBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SortBuilder
Auto Trait Implementations§
impl Freeze for SortBuilder
impl RefUnwindSafe for SortBuilder
impl Send for SortBuilder
impl Sync for SortBuilder
impl Unpin for SortBuilder
impl UnwindSafe for SortBuilder
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.