#[non_exhaustive]pub enum OperatorFamily {
Core,
Datetime,
ExtString,
ExtArray,
ExtMath,
ExtControl,
ExtObject,
ErrorHandling,
Tensor,
Secret,
Custom,
}Expand description
The family an operator belongs to.
Core and Secret are always on; the
extension families are selected at runtime on
ExprEngineBuilder (family, families,
all_operators). Datetime and
Tensor also need their cargo features (datetime,
tensor) compiled in.
This crate’s own, not datalogic_rs::Family: it adds the engine’s
Secret and a host’s Custom. The names
differ, so a host imports both unaliased.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Core
Always present.
Datetime
Date and time operators (now, datetime, timestamp, parse_date,
format_date, date_diff). Needs the datetime feature.
ExtString
String operators (length, starts_with, ends_with, upper,
lower, trim, split).
ExtArray
Array operators (sort, slice, group_by, distinct).
ExtMath
Math operators (abs, ceil, floor).
ExtControl
Control-flow operators (exists, ??, switch, type).
ExtObject
Object operators (keys, values, entries).
ErrorHandling
JSONLogic’s try and throw operators.
Tensor
Tensor operators (tensor, shape, full, cast, concat, …).
Needs the tensor feature.
Secret
The engine’s own secret operator.
Custom
An operator the host registered.
Trait Implementations§
Source§impl Clone for OperatorFamily
impl Clone for OperatorFamily
impl Copy for OperatorFamily
Source§impl Debug for OperatorFamily
impl Debug for OperatorFamily
impl Eq for OperatorFamily
Source§impl Hash for OperatorFamily
impl Hash for OperatorFamily
Source§impl PartialEq for OperatorFamily
impl PartialEq for OperatorFamily
impl StructuralPartialEq for OperatorFamily
Auto Trait Implementations§
impl Freeze for OperatorFamily
impl RefUnwindSafe for OperatorFamily
impl Send for OperatorFamily
impl Sync for OperatorFamily
impl Unpin for OperatorFamily
impl UnsafeUnpin for OperatorFamily
impl UnwindSafe for OperatorFamily
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
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
key and return true if they are equal.