mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-04-09 19:56:43 +00:00
derived Hash trait for PgInterval (#2793)
This commit is contained in:
@@ -10,7 +10,7 @@ use crate::{PgArgumentBuffer, PgHasArrayType, PgTypeInfo, PgValueFormat, PgValue
|
||||
|
||||
// `PgInterval` is available for direct access to the INTERVAL type
|
||||
|
||||
#[derive(Debug, Eq, PartialEq, Clone)]
|
||||
#[derive(Debug, Eq, PartialEq, Clone, Hash)]
|
||||
pub struct PgInterval {
|
||||
pub months: i32,
|
||||
pub days: i32,
|
||||
|
||||
Reference in New Issue
Block a user