mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 06:24:16 +00:00
derived Hash trait for PgInterval (#2793)
This commit is contained in:
parent
e80291b2a7
commit
c2eda1c8ac
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ use crate::{PgArgumentBuffer, PgHasArrayType, PgTypeInfo, PgValueFormat, PgValue
|
||||||
|
|
||||||
// `PgInterval` is available for direct access to the INTERVAL type
|
// `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 struct PgInterval {
|
||||||
pub months: i32,
|
pub months: i32,
|
||||||
pub days: i32,
|
pub days: i32,
|
||||||
|
|
Loading…
Reference in a new issue