pub enum ListFunction {
Join {
separator: String,
null_value: Option<String>,
},
Len,
Contains {
value: String,
},
}Expand description
Expression AST and supporting enums.
Supported list.* functions.
Variants§
Join
Join string list elements.
Len
Return list length.
Contains
Test whether a list contains a non-null string value.
Trait Implementations§
Source§impl Clone for ListFunction
impl Clone for ListFunction
Source§fn clone(&self) -> ListFunction
fn clone(&self) -> ListFunction
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 moreSource§impl Debug for ListFunction
impl Debug for ListFunction
impl Eq for ListFunction
Source§impl PartialEq for ListFunction
impl PartialEq for ListFunction
impl StructuralPartialEq for ListFunction
Auto Trait Implementations§
impl Freeze for ListFunction
impl RefUnwindSafe for ListFunction
impl Send for ListFunction
impl Sync for ListFunction
impl Unpin for ListFunction
impl UnsafeUnpin for ListFunction
impl UnwindSafe for ListFunction
Blanket Implementations§
impl<T> Allocation for T
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§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.