#[non_exhaustive]pub struct FindingStatisticsSortCriteria {
pub attribute_name: Option<FindingStatisticsSortAttributeName>,
pub order_by: Option<OrderBy>,
}
Expand description
Specifies criteria for sorting the results of a query that retrieves aggregated statistical data about 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<FindingStatisticsSortAttributeName>
The grouping to sort the results by. Valid values are: count, sort the results by the number of findings in each group of results; and, groupKey, sort the results by the name of each group of results.
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
sourceimpl FindingStatisticsSortCriteria
impl FindingStatisticsSortCriteria
sourcepub fn attribute_name(&self) -> Option<&FindingStatisticsSortAttributeName>
pub fn attribute_name(&self) -> Option<&FindingStatisticsSortAttributeName>
The grouping to sort the results by. Valid values are: count, sort the results by the number of findings in each group of results; and, groupKey, sort the results by the name of each group of results.
sourceimpl FindingStatisticsSortCriteria
impl FindingStatisticsSortCriteria
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FindingStatisticsSortCriteria
Trait Implementations
sourceimpl Clone for FindingStatisticsSortCriteria
impl Clone for FindingStatisticsSortCriteria
sourcefn clone(&self) -> FindingStatisticsSortCriteria
fn clone(&self) -> FindingStatisticsSortCriteria
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FindingStatisticsSortCriteria
impl Debug for FindingStatisticsSortCriteria
sourceimpl PartialEq<FindingStatisticsSortCriteria> for FindingStatisticsSortCriteria
impl PartialEq<FindingStatisticsSortCriteria> for FindingStatisticsSortCriteria
sourcefn eq(&self, other: &FindingStatisticsSortCriteria) -> bool
fn eq(&self, other: &FindingStatisticsSortCriteria) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FindingStatisticsSortCriteria) -> bool
fn ne(&self, other: &FindingStatisticsSortCriteria) -> bool
This method tests for !=
.
impl StructuralPartialEq for FindingStatisticsSortCriteria
Auto Trait Implementations
impl RefUnwindSafe for FindingStatisticsSortCriteria
impl Send for FindingStatisticsSortCriteria
impl Sync for FindingStatisticsSortCriteria
impl Unpin for FindingStatisticsSortCriteria
impl UnwindSafe for FindingStatisticsSortCriteria
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more