Struct polars_plan::dsl::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 moresourceimpl Debug for StrpTimeOptions
impl Debug for StrpTimeOptions
sourceimpl Default for StrpTimeOptions
impl Default for StrpTimeOptions
sourceimpl<'de> Deserialize<'de> for StrpTimeOptions
impl<'de> Deserialize<'de> for StrpTimeOptions
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Hash for StrpTimeOptions
impl Hash for StrpTimeOptions
sourceimpl PartialEq<StrpTimeOptions> for StrpTimeOptions
impl PartialEq<StrpTimeOptions> for StrpTimeOptions
sourcefn eq(&self, other: &StrpTimeOptions) -> bool
fn eq(&self, other: &StrpTimeOptions) -> bool
sourceimpl Serialize for StrpTimeOptions
impl Serialize for StrpTimeOptions
impl Eq for StrpTimeOptions
impl StructuralEq for StrpTimeOptions
impl StructuralPartialEq for StrpTimeOptions
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 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<T> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere
T: Hash + ?Sized,
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.