Enum arrow_format::ipc::DateUnit
source · [−]#[repr(i16)]
pub enum DateUnit {
Day,
Millisecond,
}
Variants
Day
Millisecond
Trait Implementations
sourceimpl<'de> Deserialize<'de> for DateUnit
impl<'de> Deserialize<'de> for DateUnit
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 TryFrom<i16> for DateUnit
impl TryFrom<i16> for DateUnit
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 DateUnit
impl Eq for DateUnit
impl StructuralEq for DateUnit
impl StructuralPartialEq for DateUnit
impl<'buf> VectorWrite<DateUnit> for DateUnit
impl WriteAs<DateUnit> for DateUnit
impl WriteAsDefault<DateUnit, DateUnit> for DateUnit
impl WriteAsOptional<DateUnit> for DateUnit
Auto Trait Implementations
impl RefUnwindSafe for DateUnit
impl Send for DateUnit
impl Sync for DateUnit
impl Unpin for DateUnit
impl UnwindSafe for DateUnit
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