Struct polars::prelude::StrpTimeOptions
source · [−]pub struct StrpTimeOptions {
pub date_dtype: DataType,
pub fmt: Option<String>,
pub strict: bool,
pub exact: bool,
}
Fields
date_dtype: DataType
DataType to parse in. One of {Date, Datetime}
fmt: Option<String>
Formatting string
strict: bool
If set then polars will return an error if any date parsing fails
exact: bool
If polars may parse matches that not contain the whole string e.g. “foo-2021-01-01-bar” could match “2021-01-01”
Trait Implementations
sourceimpl Clone for StrpTimeOptions
impl Clone for StrpTimeOptions
sourcefn clone(&self) -> StrpTimeOptions
fn clone(&self) -> StrpTimeOptions
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 StrpTimeOptions
impl Debug for StrpTimeOptions
sourceimpl Default for StrpTimeOptions
impl Default for StrpTimeOptions
sourcefn default() -> StrpTimeOptions
fn default() -> StrpTimeOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for StrpTimeOptions
impl Send for StrpTimeOptions
impl Sync for StrpTimeOptions
impl Unpin for StrpTimeOptions
impl UnwindSafe for StrpTimeOptions
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