Enum arrow_format::ipc::IntervalUnit
source · [−]#[repr(i16)]
pub enum IntervalUnit {
YearMonth,
DayTime,
MonthDayNano,
}
Variants
YearMonth
DayTime
MonthDayNano
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<'de> Deserialize<'de> for IntervalUnit
impl<'de> Deserialize<'de> for IntervalUnit
sourcefn 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
sourceimpl From<IntervalUnit> for i16
impl From<IntervalUnit> for i16
sourcefn from(value: IntervalUnit) -> Self
fn from(value: IntervalUnit) -> Self
Performs the conversion.
sourceimpl PartialEq<IntervalUnit> for IntervalUnit
impl PartialEq<IntervalUnit> for IntervalUnit
sourceimpl Serialize for IntervalUnit
impl Serialize for IntervalUnit
sourceimpl 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.
sourcefn try_from(value: i16) -> Result<Self, UnknownEnumTagKind>
fn try_from(value: i16) -> Result<Self, UnknownEnumTagKind>
Performs the conversion.
impl Copy for IntervalUnit
impl Eq for IntervalUnit
impl StructuralEq 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 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<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more