pub enum PgInterval {
Show 13 variants
Year,
Month,
Day,
Hour,
Minute,
Second,
YearToMonth,
DayToHour,
DayToMinute,
DayToSecond,
HourToMinute,
HourToSecond,
MinuteToSecond,
}Variants§
Year
Month
Day
Hour
Minute
Second
YearToMonth
DayToHour
DayToMinute
DayToSecond
HourToMinute
HourToSecond
MinuteToSecond
Trait Implementations§
Source§impl Clone for PgInterval
impl Clone for PgInterval
Source§impl Debug for PgInterval
impl Debug for PgInterval
Source§impl Display for PgInterval
impl Display for PgInterval
impl Eq for PgInterval
Source§impl PartialEq for PgInterval
impl PartialEq for PgInterval
impl StructuralPartialEq for PgInterval
Source§impl TryFrom<&String> for PgInterval
impl TryFrom<&String> for PgInterval
Source§impl TryFrom<&str> for PgInterval
impl TryFrom<&str> for PgInterval
Auto Trait Implementations§
impl Forget for PgInterval
impl Freeze for PgInterval
impl RefUnwindSafe for PgInterval
impl Send for PgInterval
impl Sync for PgInterval
impl Unpin for PgInterval
impl UnsafeUnpin for PgInterval
impl UnwindSafe for PgInterval
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more