Struct polars_time::RollingGroupOptions
source · pub struct RollingGroupOptions {
pub index_column: SmartString,
pub period: Duration,
pub offset: Duration,
pub closed_window: ClosedWindow,
}
Available on crate features
dtype-date
or dtype-datetime
only.Fields§
§index_column: SmartString
Time or index column
period: Duration
window duration
offset: Duration
§closed_window: ClosedWindow
Trait Implementations§
source§impl Clone for RollingGroupOptions
impl Clone for RollingGroupOptions
source§fn clone(&self) -> RollingGroupOptions
fn clone(&self) -> RollingGroupOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RollingGroupOptions
impl Debug for RollingGroupOptions
source§impl PartialEq<RollingGroupOptions> for RollingGroupOptions
impl PartialEq<RollingGroupOptions> for RollingGroupOptions
source§fn eq(&self, other: &RollingGroupOptions) -> bool
fn eq(&self, other: &RollingGroupOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RollingGroupOptions
impl StructuralEq for RollingGroupOptions
impl StructuralPartialEq for RollingGroupOptions
Auto Trait Implementations§
impl RefUnwindSafe for RollingGroupOptions
impl Send for RollingGroupOptions
impl Sync for RollingGroupOptions
impl Unpin for RollingGroupOptions
impl UnwindSafe for RollingGroupOptions
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.