#[repr(u8)]pub enum IntervalField {
Month = 1,
Year = 2,
Day = 3,
Hour = 10,
Minute = 11,
Second = 12,
}Expand description
A field of an interval qualifier such as DAY TO SECOND. The value is the bit of the field in the range mask, from src/include/utils/datetime.h.
Variants§
Trait Implementations§
Source§impl Clone for IntervalField
impl Clone for IntervalField
impl Copy for IntervalField
Source§impl Debug for IntervalField
impl Debug for IntervalField
impl Eq for IntervalField
Source§impl PartialEq for IntervalField
impl PartialEq for IntervalField
impl StructuralPartialEq for IntervalField
Auto Trait Implementations§
impl Freeze for IntervalField
impl RefUnwindSafe for IntervalField
impl Send for IntervalField
impl Sync for IntervalField
impl Unpin for IntervalField
impl UnsafeUnpin for IntervalField
impl UnwindSafe for IntervalField
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more