Skip to content

Commit

Permalink
feat: impl Ord/PartialOrd for SortOptions (#3723)
Browse files Browse the repository at this point in the history
  • Loading branch information
crepererum authored Feb 16, 2023
1 parent 22c1381 commit 55c598d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arrow-schema/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub use schema::*;
pub mod ffi;

/// Options that define the sort order of a given column
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd)]
pub struct SortOptions {
/// Whether to sort in descending order
pub descending: bool,
Expand Down

0 comments on commit 55c598d

Please sign in to comment.