Enum datafusion_proto::protobuf::IntervalUnit
source · [−]#[repr(i32)]
pub enum IntervalUnit {
YearMonth,
DayTime,
MonthDayNano,
}Variants
YearMonth
DayTime
MonthDayNano
Implementations
Trait Implementations
sourceimpl Clone for IntervalUnit
impl Clone for IntervalUnit
sourcefn clone(&self) -> IntervalUnit
fn clone(&self) -> IntervalUnit
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 IntervalUnit
impl Debug for IntervalUnit
sourceimpl Default for IntervalUnit
impl Default for IntervalUnit
sourcefn default() -> IntervalUnit
fn default() -> IntervalUnit
Returns the “default value” for a type. Read more
sourceimpl From<&'_ IntervalUnit> for IntervalUnit
impl From<&'_ IntervalUnit> for IntervalUnit
sourcefn from(interval_unit: &IntervalUnit) -> Self
fn from(interval_unit: &IntervalUnit) -> Self
Converts to this type from the input type.
sourceimpl From<IntervalUnit> for i32
impl From<IntervalUnit> for i32
sourcefn from(value: IntervalUnit) -> i32
fn from(value: IntervalUnit) -> i32
Converts to this type from the input type.
sourceimpl From<IntervalUnit> for IntervalUnit
impl From<IntervalUnit> for IntervalUnit
sourcefn from(interval_unit: IntervalUnit) -> Self
fn from(interval_unit: IntervalUnit) -> Self
Converts to this type from the input type.
sourceimpl Hash for IntervalUnit
impl Hash for IntervalUnit
sourceimpl Ord for IntervalUnit
impl Ord for IntervalUnit
sourceimpl PartialEq<IntervalUnit> for IntervalUnit
impl PartialEq<IntervalUnit> for IntervalUnit
sourceimpl PartialOrd<IntervalUnit> for IntervalUnit
impl PartialOrd<IntervalUnit> for IntervalUnit
sourcefn partial_cmp(&self, other: &IntervalUnit) -> Option<Ordering>
fn partial_cmp(&self, other: &IntervalUnit) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl TryFrom<&'_ i32> for IntervalUnit
impl TryFrom<&'_ i32> for IntervalUnit
impl Copy for IntervalUnit
impl Eq for IntervalUnit
impl StructuralEq for IntervalUnit
impl StructuralPartialEq for IntervalUnit
Auto Trait Implementations
impl RefUnwindSafe for IntervalUnit
impl Send for IntervalUnit
impl Sync for IntervalUnit
impl Unpin for IntervalUnit
impl UnwindSafe for IntervalUnit
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<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.