Struct polars_core::prelude::AsOfOptions
source · [−]pub struct AsOfOptions {
pub strategy: AsofStrategy,
pub tolerance: Option<AnyValue<'static>>,
pub tolerance_str: Option<String>,
pub left_by: Option<Vec<String>>,
pub right_by: Option<Vec<String>>,
}
Fields
strategy: AsofStrategy
tolerance: Option<AnyValue<'static>>
A tolerance in the same unit as the asof column
tolerance_str: Option<String>
An timedelta given as
- “5m”
- “2h15m”
- “1d6h” etc
left_by: Option<Vec<String>>
right_by: Option<Vec<String>>
Trait Implementations
sourceimpl Clone for AsOfOptions
impl Clone for AsOfOptions
sourcefn clone(&self) -> AsOfOptions
fn clone(&self) -> AsOfOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AsOfOptions
impl Debug for AsOfOptions
sourceimpl PartialEq<AsOfOptions> for AsOfOptions
impl PartialEq<AsOfOptions> for AsOfOptions
sourcefn eq(&self, other: &AsOfOptions) -> bool
fn eq(&self, other: &AsOfOptions) -> bool
impl Eq for AsOfOptions
impl StructuralEq for AsOfOptions
impl StructuralPartialEq for AsOfOptions
Auto Trait Implementations
impl !RefUnwindSafe for AsOfOptions
impl Send for AsOfOptions
impl Sync for AsOfOptions
impl Unpin for AsOfOptions
impl !UnwindSafe for AsOfOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.