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 more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AsOfOptions) -> bool
fn ne(&self, other: &AsOfOptions) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more