pub trait PolarsTruncate {
    // Required method
    fn truncate(
        &self,
        every: Duration,
        offset: Duration,
        tz: Option<&impl PolarsTimeZone>
    ) -> PolarsResult<Self>
       where Self: Sized;
}

Required Methods§

source

fn truncate( &self, every: Duration, offset: Duration, tz: Option<&impl PolarsTimeZone> ) -> PolarsResult<Self>where Self: Sized,

Implementations on Foreign Types§

source§

impl PolarsTruncate for DateChunked

Available on crate feature dtype-date only.
source§

fn truncate( &self, every: Duration, offset: Duration, _tz: Option<&impl PolarsTimeZone> ) -> PolarsResult<Self>

source§

impl PolarsTruncate for DatetimeChunked

Available on crate feature dtype-datetime only.
source§

fn truncate( &self, every: Duration, offset: Duration, tz: Option<&impl PolarsTimeZone> ) -> PolarsResult<Self>

Implementors§