pub struct SortCriterion {
pub field: Option<String>,
pub sort_order: Option<String>,
}
Expand description
A collection of finding attributes used to sort findings.
Fields§
§field: Option<String>
The finding attribute used to sort findings.
sort_order: Option<String>
The order used to sort findings.
Trait Implementations§
Source§impl Clone for SortCriterion
impl Clone for SortCriterion
Source§fn clone(&self) -> SortCriterion
fn clone(&self) -> SortCriterion
Returns a duplicate 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 SortCriterion
impl Debug for SortCriterion
Source§impl Default for SortCriterion
impl Default for SortCriterion
Source§fn default() -> SortCriterion
fn default() -> SortCriterion
Returns the “default value” for a type. Read more
Source§impl PartialEq for SortCriterion
impl PartialEq for SortCriterion
Source§impl Serialize for SortCriterion
impl Serialize for SortCriterion
impl StructuralPartialEq for SortCriterion
Auto Trait Implementations§
impl Freeze for SortCriterion
impl RefUnwindSafe for SortCriterion
impl Send for SortCriterion
impl Sync for SortCriterion
impl Unpin for SortCriterion
impl UnwindSafe for SortCriterion
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