Struct aws_sdk_macie2::model::SortCriteria
source · [−]#[non_exhaustive]pub struct SortCriteria {
pub attribute_name: Option<String>,
pub order_by: Option<OrderBy>,
}
Expand description
Specifies criteria for sorting the results of a request for findings.
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.attribute_name: Option<String>
The name of the property to sort the results by. This value can be the name of any property that Amazon Macie defines for a finding.
order_by: Option<OrderBy>
The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
Implementations
The name of the property to sort the results by. This value can be the name of any property that Amazon Macie defines for a finding.
Creates a new builder-style object to manufacture SortCriteria
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SortCriteria
impl Send for SortCriteria
impl Sync for SortCriteria
impl Unpin for SortCriteria
impl UnwindSafe for SortCriteria
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more