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§
source§impl Clone for AsOfOptions
impl Clone for AsOfOptions
source§fn clone(&self) -> AsOfOptions
fn clone(&self) -> AsOfOptions
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 AsOfOptions
impl Debug for AsOfOptions
source§impl Default for AsOfOptions
impl Default for AsOfOptions
source§fn default() -> AsOfOptions
fn default() -> AsOfOptions
Returns the “default value” for a type. Read more
source§impl PartialEq<AsOfOptions> for AsOfOptions
impl PartialEq<AsOfOptions> for AsOfOptions
source§fn eq(&self, other: &AsOfOptions) -> bool
fn eq(&self, other: &AsOfOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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§
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.