pub enum SpecialFnKind {
Aggregation(AggregationFn),
TypeConversion(TypeConversionFn),
TimeScaleConversion(TimeScale),
Constructor(ConstructorFn),
DatetimeExtract(DatetimeExtractFn),
DatetimeFrom(DatetimeFromFn),
DatetimeTo(DatetimeToFn),
}Expand description
Classification of special built-in functions.
Each variant carries a sub-enum identifying the specific function, so downstream handlers can match on typed variants instead of raw strings.
Variants§
Aggregation(AggregationFn)
Aggregation functions: sum, min, max, mean, count.
TypeConversion(TypeConversionFn)
Type conversion functions: to_float, to_int.
TimeScaleConversion(TimeScale)
Time-scale conversion functions: to_utc, to_tai, etc.
Constructor(ConstructorFn)
Constructor functions: datetime, epoch.
DatetimeExtract(DatetimeExtractFn)
Datetime extraction functions: year, month, day, etc.
DatetimeFrom(DatetimeFromFn)
Datetime-from-numeric functions: from_jd, from_mjd, from_unix.
DatetimeTo(DatetimeToFn)
Datetime-to-numeric functions: to_jd, to_mjd, to_unix.
Trait Implementations§
Source§impl Clone for SpecialFnKind
impl Clone for SpecialFnKind
Source§fn clone(&self) -> SpecialFnKind
fn clone(&self) -> SpecialFnKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SpecialFnKind
Source§impl Debug for SpecialFnKind
impl Debug for SpecialFnKind
impl Eq for SpecialFnKind
Source§impl PartialEq for SpecialFnKind
impl PartialEq for SpecialFnKind
Source§fn eq(&self, other: &SpecialFnKind) -> bool
fn eq(&self, other: &SpecialFnKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SpecialFnKind
Auto Trait Implementations§
impl Freeze for SpecialFnKind
impl RefUnwindSafe for SpecialFnKind
impl Send for SpecialFnKind
impl Sync for SpecialFnKind
impl Unpin for SpecialFnKind
impl UnsafeUnpin for SpecialFnKind
impl UnwindSafe for SpecialFnKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.