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ยงfn clone(&self) -> PgInterval
fn clone(&self) -> PgInterval
Returns a copy of the value. Read more
1.0.0 ยท sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceยงimpl Debug for PgInterval
impl Debug for PgInterval
sourceยงimpl Display for PgInterval
Available on crate feature backend-postgres
only.
impl Display for PgInterval
Available on crate feature
backend-postgres
only.sourceยงimpl PartialEq for PgInterval
impl PartialEq for PgInterval
sourceยงimpl TryFrom<&String> for PgInterval
Available on crate feature backend-postgres
only.
impl TryFrom<&String> for PgInterval
Available on crate feature
backend-postgres
only.sourceยงimpl TryFrom<&str> for PgInterval
Available on crate feature backend-postgres
only.
impl TryFrom<&str> for PgInterval
Available on crate feature
backend-postgres
only.sourceยงimpl TryFrom<String> for PgInterval
Available on crate feature backend-postgres
only.
impl TryFrom<String> for PgInterval
Available on crate feature
backend-postgres
only.impl Eq for PgInterval
impl StructuralPartialEq for PgInterval
Auto Trait Implementationsยง
impl Freeze for PgInterval
impl RefUnwindSafe for PgInterval
impl Send for PgInterval
impl Sync for PgInterval
impl Unpin 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
sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
sourceยงunsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit
)