Trait polars_time::PolarsTruncate

source ·
pub trait PolarsTruncate {
    // Required method
    fn truncate(
        &self,
        tz: Option<&Tz>,
        every: &StringChunked
    ) -> PolarsResult<Self>
       where Self: Sized;
}

Required Methods§

source

fn truncate(&self, tz: Option<&Tz>, every: &StringChunked) -> PolarsResult<Self>
where Self: Sized,

Implementations on Foreign Types§

source§

impl PolarsTruncate for DateChunked

source§

fn truncate( &self, _tz: Option<&Tz>, every: &StringChunked ) -> PolarsResult<Self>

source§

impl PolarsTruncate for DatetimeChunked

source§

fn truncate(&self, tz: Option<&Tz>, every: &StringChunked) -> PolarsResult<Self>

Implementors§