pub struct SortBy {
pub field: String,
pub direction: SortDirection,
}Expand description
A sorting rule for a STAC API search.
See the STAC API Sort Extension for details.
Fields§
§field: StringThe property name to sort by.
direction: SortDirectionThe sort direction.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SortBy
impl RefUnwindSafe for SortBy
impl Send for SortBy
impl Sync for SortBy
impl Unpin for SortBy
impl UnwindSafe for SortBy
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