Skip to main content

TimeType

Trait TimeType 

Source
trait TimeType: ArrowTemporalType {
    const UNIT_MULTIPLE: i64;

    // Required method
    fn from_naive_time(time: NaiveTime) -> Self::Native;
}

Required Associated Constants§

Source

const UNIT_MULTIPLE: i64

Number of units in one second.

Required Methods§

Source

fn from_naive_time(time: NaiveTime) -> Self::Native

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl TimeType for Time32MillisecondType

Source§

const UNIT_MULTIPLE: i64 = MILLISECONDS

Source§

fn from_naive_time(time: NaiveTime) -> Self::Native

Source§

impl TimeType for Time32SecondType

Source§

const UNIT_MULTIPLE: i64 = 1

Source§

fn from_naive_time(time: NaiveTime) -> Self::Native

Source§

impl TimeType for Time64MicrosecondType

Source§

const UNIT_MULTIPLE: i64 = MICROSECONDS

Source§

fn from_naive_time(time: NaiveTime) -> Self::Native

Source§

impl TimeType for Time64NanosecondType

Source§

const UNIT_MULTIPLE: i64 = NANOSECONDS

Source§

fn from_naive_time(time: NaiveTime) -> Self::Native

Implementors§