Struct polars::prelude::chunkedarray::RollingOptionsDynamicWindow
source · pub struct RollingOptionsDynamicWindow {
pub window_size: Duration,
pub min_periods: usize,
pub closed_window: ClosedWindow,
pub fn_params: Option<Arc<dyn Any + Send + Sync>>,
}
Available on crate feature
temporal
only.Fields§
§window_size: Duration
The length of the window.
min_periods: usize
Amount of elements in the window that should be filled before computing a result.
closed_window: ClosedWindow
Which side windows should be closed.
fn_params: Option<Arc<dyn Any + Send + Sync>>
Optional parameters for the rolling function
Trait Implementations§
source§impl Clone for RollingOptionsDynamicWindow
impl Clone for RollingOptionsDynamicWindow
source§fn clone(&self) -> RollingOptionsDynamicWindow
fn clone(&self) -> RollingOptionsDynamicWindow
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 RollingOptionsDynamicWindow
impl Debug for RollingOptionsDynamicWindow
source§impl PartialEq for RollingOptionsDynamicWindow
Available on crate feature rolling_window_by
only.
impl PartialEq for RollingOptionsDynamicWindow
Available on crate feature
rolling_window_by
only.source§fn eq(&self, other: &RollingOptionsDynamicWindow) -> bool
fn eq(&self, other: &RollingOptionsDynamicWindow) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.Auto Trait Implementations§
impl Freeze for RollingOptionsDynamicWindow
impl !RefUnwindSafe for RollingOptionsDynamicWindow
impl Send for RollingOptionsDynamicWindow
impl Sync for RollingOptionsDynamicWindow
impl Unpin for RollingOptionsDynamicWindow
impl !UnwindSafe for RollingOptionsDynamicWindow
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more