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