polars::prelude::chunkedarray::string::infer

Trait StrpTimeParser

Source
pub trait StrpTimeParser<T> {
    // Required method
    fn parse_bytes(
        &mut self,
        val: &[u8],
        time_unit: Option<TimeUnit>,
    ) -> Option<T>;
}
Available on crate feature temporal only.

Required Methods§

Source

fn parse_bytes(&mut self, val: &[u8], time_unit: Option<TimeUnit>) -> Option<T>

Implementors§

Source§

impl StrpTimeParser<i32> for DatetimeInfer<Int32Type>

Available on crate feature dtype-date only.
Source§

impl StrpTimeParser<i64> for DatetimeInfer<Int64Type>

Available on crate feature dtype-datetime only.