mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-30 05:11:13 +00:00
parent
35f3ec1944
commit
3e140ba384
@ -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, Hash, Default)]
|
||||
#[derive(Debug, Eq, PartialEq, Clone, Copy, Hash, Default)]
|
||||
pub struct PgInterval {
|
||||
pub months: i32,
|
||||
pub days: i32,
|
||||
|
||||
@ -26,7 +26,7 @@ bitflags! {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, PartialEq, Eq, Clone)]
|
||||
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
|
||||
pub struct PgRange<T> {
|
||||
pub start: Bound<T>,
|
||||
pub end: Bound<T>,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user