Trait polars::prelude::chunkedarray::string::infer::TryFromWithUnit

source ·
pub trait TryFromWithUnit<T>: Sized {
    type Error;

    // Required method
    fn try_from_with_unit(
        pattern: T,
        unit: Option<TimeUnit>
    ) -> Result<Self, PolarsError>;
}
Available on crate feature temporal only.

Required Associated Types§

Required Methods§

source

fn try_from_with_unit( pattern: T, unit: Option<TimeUnit> ) -> Result<Self, PolarsError>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl TryFromWithUnit<Pattern> for DatetimeInfer<Int32Type>

Available on crate feature dtype-date only.
source§

impl TryFromWithUnit<Pattern> for DatetimeInfer<Int64Type>

Available on crate feature dtype-datetime only.