Enum sqlparser::ast::DateTimeField
source · [−]pub enum DateTimeField {
Show 26 variants
Year,
Month,
Week,
Day,
Hour,
Minute,
Second,
Century,
Decade,
Dow,
Doy,
Epoch,
Isodow,
Isoyear,
Julian,
Microsecond,
Microseconds,
Millenium,
Millennium,
Millisecond,
Milliseconds,
Quarter,
Timezone,
TimezoneHour,
TimezoneMinute,
NoDateTime,
}
Variants
Year
Month
Week
Day
Hour
Minute
Second
Century
Decade
Dow
Doy
Epoch
Isodow
Isoyear
Julian
Microsecond
Microseconds
Millenium
Millennium
Millisecond
Milliseconds
Quarter
Timezone
TimezoneHour
TimezoneMinute
NoDateTime
Trait Implementations
sourceimpl Clone for DateTimeField
impl Clone for DateTimeField
sourcefn clone(&self) -> DateTimeField
fn clone(&self) -> DateTimeField
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 DateTimeField
impl Debug for DateTimeField
sourceimpl Display for DateTimeField
impl Display for DateTimeField
sourceimpl Hash for DateTimeField
impl Hash for DateTimeField
sourceimpl PartialEq<DateTimeField> for DateTimeField
impl PartialEq<DateTimeField> for DateTimeField
sourcefn eq(&self, other: &DateTimeField) -> bool
fn eq(&self, other: &DateTimeField) -> bool
impl Eq for DateTimeField
impl StructuralEq for DateTimeField
impl StructuralPartialEq for DateTimeField
Auto Trait Implementations
impl RefUnwindSafe for DateTimeField
impl Send for DateTimeField
impl Sync for DateTimeField
impl Unpin for DateTimeField
impl UnwindSafe for DateTimeField
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