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
sourceimpl Clone for PgInterval
impl Clone for PgInterval
sourcefn clone(&self) -> PgInterval
fn clone(&self) -> PgInterval
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PgInterval
impl Debug for PgInterval
sourceimpl Display for PgInterval
Available on crate feature backend-postgres
only.
impl Display for PgInterval
Available on crate feature
backend-postgres
only.sourceimpl PartialEq<PgInterval> for PgInterval
impl PartialEq<PgInterval> for PgInterval
sourcefn eq(&self, other: &PgInterval) -> bool
fn eq(&self, other: &PgInterval) -> bool
sourceimpl ToTokens for PgInterval
impl ToTokens for PgInterval
sourcefn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
sourcefn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
sourcefn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
sourceimpl TryFrom<&String> for PgInterval
Available on crate feature backend-postgres
only.
impl TryFrom<&String> for PgInterval
Available on crate feature
backend-postgres
only.sourceimpl TryFrom<&str> for PgInterval
Available on crate feature backend-postgres
only.
impl TryFrom<&str> for PgInterval
Available on crate feature
backend-postgres
only.sourceimpl 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 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more