pub trait DurationMethods {
    fn hours(&self) -> Int64Chunked;
    fn days(&self) -> Int64Chunked;
    fn minutes(&self) -> Int64Chunked;
    fn seconds(&self) -> Int64Chunked;
    fn milliseconds(&self) -> Int64Chunked;
    fn microseconds(&self) -> Int64Chunked;
    fn nanoseconds(&self) -> Int64Chunked;
}
Available on crate feature dtype-duration only.

Required Methods§

Extract the hours from a Duration

Extract the days from a Duration

Extract the minutes from a Duration

Extract the seconds from a Duration

Extract the milliseconds from a Duration

Extract the microseconds from a Duration

Extract the nanoseconds from a Duration

Implementations on Foreign Types§

Extract the hours from a Duration

Extract the days from a Duration

Extract the seconds from a Duration

Extract the seconds from a Duration

Extract the milliseconds from a Duration

Extract the microseconds from a Duration

Extract the nanoseconds from a Duration

Implementors§