Struct polars_time::DynamicGroupOptions
source · pub struct DynamicGroupOptions {
pub index_column: SmartString,
pub every: Duration,
pub period: Duration,
pub offset: Duration,
pub truncate: bool,
pub include_boundaries: bool,
pub closed_window: ClosedWindow,
pub start_by: StartBy,
}
Available on crate features
dtype-date
or dtype-datetime
only.Fields§
§index_column: SmartString
Time or index column
every: Duration
start a window at this interval
period: Duration
window duration
offset: Duration
offset window boundaries
truncate: bool
truncate the time column values to the window
include_boundaries: bool
§closed_window: ClosedWindow
§start_by: StartBy
Trait Implementations§
source§impl Clone for DynamicGroupOptions
impl Clone for DynamicGroupOptions
source§fn clone(&self) -> DynamicGroupOptions
fn clone(&self) -> DynamicGroupOptions
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 DynamicGroupOptions
impl Debug for DynamicGroupOptions
source§impl Default for DynamicGroupOptions
impl Default for DynamicGroupOptions
source§impl PartialEq<DynamicGroupOptions> for DynamicGroupOptions
impl PartialEq<DynamicGroupOptions> for DynamicGroupOptions
source§fn eq(&self, other: &DynamicGroupOptions) -> bool
fn eq(&self, other: &DynamicGroupOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DynamicGroupOptions
impl StructuralEq for DynamicGroupOptions
impl StructuralPartialEq for DynamicGroupOptions
Auto Trait Implementations§
impl RefUnwindSafe for DynamicGroupOptions
impl Send for DynamicGroupOptions
impl Sync for DynamicGroupOptions
impl Unpin for DynamicGroupOptions
impl UnwindSafe for DynamicGroupOptions
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.