Enum arrow_format::ipc::IntervalUnit
source · #[repr(i16)]pub enum IntervalUnit {
YearMonth = 0,
DayTime = 1,
MonthDayNano = 2,
}
Variants§
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 PartialEq for IntervalUnit
impl PartialEq for IntervalUnit
source§fn eq(&self, other: &IntervalUnit) -> bool
fn eq(&self, other: &IntervalUnit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for IntervalUnit
impl Serialize for IntervalUnit
source§impl TryFrom<i16> for IntervalUnit
impl TryFrom<i16> for IntervalUnit
§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<'buf> VectorWrite<IntervalUnit> for IntervalUnit
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