Expand description
A match based on date patterns
Fields
separator: String
Separator of a date that was matched.
year: i32
Year that was matched.
month: i8
Month that was matched.
day: i8
Day that was matched.
Trait Implementations
sourceimpl Clone for DatePattern
impl Clone for DatePattern
sourcefn clone(&self) -> DatePattern
fn clone(&self) -> DatePattern
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 DatePattern
impl Debug for DatePattern
sourceimpl Default for DatePattern
impl Default for DatePattern
sourcefn default() -> DatePattern
fn default() -> DatePattern
Returns the “default value” for a type. Read more
sourceimpl PartialEq<DatePattern> for DatePattern
impl PartialEq<DatePattern> for DatePattern
sourcefn eq(&self, other: &DatePattern) -> bool
fn eq(&self, other: &DatePattern) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DatePattern) -> bool
fn ne(&self, other: &DatePattern) -> bool
This method tests for !=
.
impl StructuralPartialEq for DatePattern
Auto Trait Implementations
impl RefUnwindSafe for DatePattern
impl Send for DatePattern
impl Sync for DatePattern
impl Unpin for DatePattern
impl UnwindSafe for DatePattern
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> 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