#[repr(i16)]pub enum IntervalUnit {
YearMonth = 0,
DayTime = 1,
MonthDayNano = 2,
}Expand description
The enum IntervalUnit in the namespace org.apache.arrow.flatbuf
Generated from these locations:
- Enum
IntervalUnitin the fileSchema.fbs:398
Variants§
YearMonth = 0
The variant YEAR_MONTH in the enum IntervalUnit
DayTime = 1
The variant DAY_TIME in the enum IntervalUnit
MonthDayNano = 2
The variant MONTH_DAY_NANO in the enum IntervalUnit
Implementations§
Source§impl IntervalUnit
impl IntervalUnit
Sourcepub const ENUM_VALUES: [Self; 3]
pub const ENUM_VALUES: [Self; 3]
Array containing all valid variants of IntervalUnit
Trait Implementations§
Source§impl Clone for IntervalUnit
impl Clone for IntervalUnit
Source§fn clone(&self) -> IntervalUnit
fn clone(&self) -> IntervalUnit
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IntervalUnit
impl Debug for IntervalUnit
Source§impl<'de> Deserialize<'de> for IntervalUnit
impl<'de> Deserialize<'de> for IntervalUnit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<IntervalUnit> for i16
impl From<IntervalUnit> for i16
Source§fn from(value: IntervalUnit) -> Self
fn from(value: IntervalUnit) -> Self
Converts to this type from the input type.
Source§impl Hash for IntervalUnit
impl Hash for IntervalUnit
Source§impl Ord for IntervalUnit
impl Ord for IntervalUnit
Source§fn cmp(&self, other: &IntervalUnit) -> Ordering
fn cmp(&self, other: &IntervalUnit) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IntervalUnit
impl PartialEq for IntervalUnit
Source§impl PartialOrd for IntervalUnit
impl PartialOrd for IntervalUnit
Source§impl Serialize for IntervalUnit
impl Serialize for IntervalUnit
Source§impl TryFrom<i16> for IntervalUnit
impl TryFrom<i16> for IntervalUnit
Source§type Error = UnknownEnumTagKind
type Error = UnknownEnumTagKind
The type returned in the event of a conversion error.
impl Copy for IntervalUnit
impl Eq for IntervalUnit
impl StructuralPartialEq for IntervalUnit
impl VectorWrite<IntervalUnit> for IntervalUnit
§Safety
The planus compiler generates implementations that initialize
the bytes in write_values.
impl WriteAs<IntervalUnit> for IntervalUnit
impl WriteAsDefault<IntervalUnit, IntervalUnit> for IntervalUnit
impl WriteAsOptional<IntervalUnit> for IntervalUnit
Auto Trait Implementations§
impl Freeze for IntervalUnit
impl RefUnwindSafe for IntervalUnit
impl Send for IntervalUnit
impl Sync for IntervalUnit
impl Unpin for IntervalUnit
impl UnwindSafe for IntervalUnit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more