Enum migration::sea_orm::sea_query::PgInterval
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§
§impl Clone for PgInterval
impl Clone for PgInterval
§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 more§impl Debug for PgInterval
impl Debug for PgInterval
§impl Display for PgInterval
impl Display for PgInterval
§impl PartialEq<PgInterval> for PgInterval
impl PartialEq<PgInterval> for PgInterval
§fn eq(&self, other: &PgInterval) -> bool
fn eq(&self, other: &PgInterval) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl TryFrom<&String> for PgInterval
impl TryFrom<&String> for PgInterval
§impl TryFrom<&str> for PgInterval
impl TryFrom<&str> for PgInterval
§impl TryFrom<String> for PgInterval
impl TryFrom<String> for PgInterval
impl Eq for PgInterval
impl StructuralEq for PgInterval
impl StructuralPartialEq for PgInterval
Auto Trait Implementations§
impl RefUnwindSafe for PgInterval
impl Send for PgInterval
impl Sync for PgInterval
impl Unpin for PgInterval
impl UnwindSafe for PgInterval
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.