#[repr(i16)]pub enum DateUnit {
Day = 0,
Millisecond = 1,
}Expand description
The enum DateUnit in the namespace org.apache.arrow.flatbuf
Generated from these locations:
- Enum
DateUnitin the fileSchema.fbs:241
Variants§
Day = 0
The variant DAY in the enum DateUnit
Millisecond = 1
The variant MILLISECOND in the enum DateUnit
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DateUnit
impl<'de> Deserialize<'de> for DateUnit
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 Ord for DateUnit
impl Ord for DateUnit
Source§impl PartialOrd for DateUnit
impl PartialOrd for DateUnit
Source§impl TryFrom<i16> for DateUnit
impl TryFrom<i16> for DateUnit
Source§type Error = UnknownEnumTagKind
type Error = UnknownEnumTagKind
The type returned in the event of a conversion error.
impl Copy for DateUnit
impl Eq for DateUnit
impl StructuralPartialEq for DateUnit
impl VectorWrite<DateUnit> for DateUnit
§Safety
The planus compiler generates implementations that initialize
the bytes in write_values.
impl WriteAs<DateUnit> for DateUnit
impl WriteAsDefault<DateUnit, DateUnit> for DateUnit
impl WriteAsOptional<DateUnit> for DateUnit
Auto Trait Implementations§
impl Freeze for DateUnit
impl RefUnwindSafe for DateUnit
impl Send for DateUnit
impl Sync for DateUnit
impl Unpin for DateUnit
impl UnwindSafe for DateUnit
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