pub enum Function {
Show 51 variants Abs(Expr), Lower(Expr), Upper(Expr), Left { expr: Expr, size: Expr, }, Right { expr: Expr, size: Expr, }, Asin(Expr), Acos(Expr), Atan(Expr), Lpad { expr: Expr, size: Expr, fill: Option<Expr>, }, Rpad { expr: Expr, size: Expr, fill: Option<Expr>, }, Cast { expr: Expr, data_type: DataType, }, Ceil(Expr), Concat(Vec<Expr>), IfNull { expr: Expr, then: Expr, }, Round(Expr), Floor(Expr), Trim { expr: Expr, filter_chars: Option<Expr>, trim_where_field: Option<TrimWhereField>, }, Exp(Expr), Extract { field: DateTimeField, expr: Expr, }, Ln(Expr), Log { antilog: Expr, base: Expr, }, Log2(Expr), Log10(Expr), Div { dividend: Expr, divisor: Expr, }, Mod { dividend: Expr, divisor: Expr, }, Gcd { left: Expr, right: Expr, }, Lcm { left: Expr, right: Expr, }, Sin(Expr), Cos(Expr), Tan(Expr), Sqrt(Expr), Power { expr: Expr, power: Expr, }, Radians(Expr), Degrees(Expr), Now(), Pi(), Ltrim { expr: Expr, chars: Option<Expr>, }, Rtrim { expr: Expr, chars: Option<Expr>, }, Reverse(Expr), Repeat { expr: Expr, num: Expr, }, Sign(Expr), Substr { expr: Expr, start: Expr, count: Option<Expr>, }, Unwrap { expr: Expr, selector: Expr, }, GenerateUuid(), Format { expr: Expr, format: Expr, }, ToDate { expr: Expr, format: Expr, }, ToTimestamp { expr: Expr, format: Expr, }, ToTime { expr: Expr, format: Expr, }, Position { from_expr: Expr, sub_expr: Expr, }, Ascii(Expr), Chr(Expr),
}

Variants

Abs(Expr)

Lower(Expr)

Upper(Expr)

Left

Fields

expr: Expr
size: Expr

Right

Fields

expr: Expr
size: Expr

Asin(Expr)

Acos(Expr)

Atan(Expr)

Lpad

Fields

expr: Expr
size: Expr
fill: Option<Expr>

Rpad

Fields

expr: Expr
size: Expr
fill: Option<Expr>

Cast

Fields

expr: Expr
data_type: DataType

Ceil(Expr)

Concat(Vec<Expr>)

IfNull

Fields

expr: Expr
then: Expr

Round(Expr)

Floor(Expr)

Trim

Fields

expr: Expr
filter_chars: Option<Expr>
trim_where_field: Option<TrimWhereField>

Exp(Expr)

Extract

Fields

expr: Expr

Ln(Expr)

Log

Fields

antilog: Expr
base: Expr

Log2(Expr)

Log10(Expr)

Div

Fields

dividend: Expr
divisor: Expr

Mod

Fields

dividend: Expr
divisor: Expr

Gcd

Fields

left: Expr
right: Expr

Lcm

Fields

left: Expr
right: Expr

Sin(Expr)

Cos(Expr)

Tan(Expr)

Sqrt(Expr)

Power

Fields

expr: Expr
power: Expr

Radians(Expr)

Degrees(Expr)

Now()

Pi()

Ltrim

Fields

expr: Expr
chars: Option<Expr>

Rtrim

Fields

expr: Expr
chars: Option<Expr>

Reverse(Expr)

Repeat

Fields

expr: Expr
num: Expr

Sign(Expr)

Substr

Fields

expr: Expr
start: Expr
count: Option<Expr>

Unwrap

Fields

expr: Expr
selector: Expr

GenerateUuid()

Format

Fields

expr: Expr
format: Expr

ToDate

Fields

expr: Expr
format: Expr

ToTimestamp

Fields

expr: Expr
format: Expr

ToTime

Fields

expr: Expr
format: Expr

Position

Fields

from_expr: Expr
sub_expr: Expr

Ascii(Expr)

Chr(Expr)

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Formats the value using the given formatter. Read more
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more
The type returned in the event of a conversion error.
Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.