Enum sea_query::table::PgInterval
source · 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<PgInterval> for PgInterval
impl PartialEq<PgInterval> for PgInterval
source§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 ==
.source§impl ToTokens for PgInterval
impl ToTokens for PgInterval
source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere Self: Sized,
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.