Skip to content

Commit c2eda1c

Browse files
authored
derived Hash trait for PgInterval (#2793)
1 parent e80291b commit c2eda1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlx-postgres/src/types/interval.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use crate::{PgArgumentBuffer, PgHasArrayType, PgTypeInfo, PgValueFormat, PgValue
1010

1111
// `PgInterval` is available for direct access to the INTERVAL type
1212

13-
#[derive(Debug, Eq, PartialEq, Clone)]
13+
#[derive(Debug, Eq, PartialEq, Clone, Hash)]
1414
pub struct PgInterval {
1515
pub months: i32,
1616
pub days: i32,

0 commit comments

Comments
 (0)