Enum sqlparser::ast::DateTimeField
source · [−]pub enum DateTimeField {
Show 22 variants
Year,
Month,
Week,
Day,
Hour,
Minute,
Second,
Century,
Decade,
Dow,
Doy,
Epoch,
Isodow,
Isoyear,
Julian,
Microseconds,
Millenium,
Milliseconds,
Quarter,
Timezone,
TimezoneHour,
TimezoneMinute,
}
Variants
Year
Month
Week
Day
Hour
Minute
Second
Century
Decade
Dow
Doy
Epoch
Isodow
Isoyear
Julian
Microseconds
Millenium
Milliseconds
Quarter
Timezone
TimezoneHour
TimezoneMinute
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 more
sourceimpl 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
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more