Skip to content

Commit

Permalink
Add hash trait to SortOptions. (#4089)
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafasrepo authored Apr 14, 2023
1 parent 637d383 commit 98cc3ef
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 @@ -33,7 +33,7 @@ use std::ops;
pub mod ffi;

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

0 comments on commit 98cc3ef

Please sign in to comment.