pub enum DateMethod {
Show 30 variants
Add,
Sub,
Set,
Format,
StartOf,
EndOf,
Diff,
Tz,
IsSame,
IsBefore,
IsAfter,
IsSameOrBefore,
IsSameOrAfter,
Second,
Minute,
Hour,
Day,
DayOfYear,
Week,
Weekday,
Month,
Quarter,
Year,
Timestamp,
OffsetName,
IsValid,
IsYesterday,
IsToday,
IsTomorrow,
IsLeapYear,
}
Variants§
Add
Sub
Set
Format
StartOf
EndOf
Diff
Tz
IsSame
IsBefore
IsAfter
IsSameOrBefore
IsSameOrAfter
Second
Minute
Hour
Day
DayOfYear
Week
Weekday
Month
Quarter
Year
Timestamp
OffsetName
IsValid
IsYesterday
IsToday
IsTomorrow
IsLeapYear
Trait Implementations§
Source§impl Clone for DateMethod
impl Clone for DateMethod
Source§fn clone(&self) -> DateMethod
fn clone(&self) -> DateMethod
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DateMethod
impl Debug for DateMethod
Source§impl Display for DateMethod
impl Display for DateMethod
Source§impl<'_derivative_strum> From<&'_derivative_strum DateMethod> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum DateMethod> for &'static str
Source§fn from(x: &'_derivative_strum DateMethod) -> &'static str
fn from(x: &'_derivative_strum DateMethod) -> &'static str
Converts to this type from the input type.
Source§impl From<&DateMethod> for Rc<dyn FunctionDefinition>
impl From<&DateMethod> for Rc<dyn FunctionDefinition>
Source§fn from(value: &DateMethod) -> Self
fn from(value: &DateMethod) -> Self
Converts to this type from the input type.
Source§impl From<DateMethod> for &'static str
impl From<DateMethod> for &'static str
Source§fn from(x: DateMethod) -> &'static str
fn from(x: DateMethod) -> &'static str
Converts to this type from the input type.
Source§impl FromStr for DateMethod
impl FromStr for DateMethod
Source§impl Hash for DateMethod
impl Hash for DateMethod
Source§impl IntoEnumIterator for DateMethod
impl IntoEnumIterator for DateMethod
Source§impl PartialEq for DateMethod
impl PartialEq for DateMethod
Source§impl TryFrom<&str> for DateMethod
impl TryFrom<&str> for DateMethod
impl Copy for DateMethod
impl Eq for DateMethod
impl IsEnabled for DateMethod
impl StructuralPartialEq for DateMethod
Auto Trait Implementations§
impl Freeze for DateMethod
impl RefUnwindSafe for DateMethod
impl Send for DateMethod
impl Sync for DateMethod
impl Unpin for DateMethod
impl UnwindSafe for DateMethod
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more