Enum expr::BinaryFunc[][src]

pub enum BinaryFunc {
Show 140 variants And, Or, AddInt16, AddInt32, AddInt64, AddFloat32, AddFloat64, AddInterval, AddTimestampInterval, AddTimestampTzInterval, AddDateInterval, AddDateTime, AddTimeInterval, AddNumeric, BitAndInt16, BitAndInt32, BitAndInt64, BitOrInt16, BitOrInt32, BitOrInt64, BitXorInt16, BitXorInt32, BitXorInt64, BitShiftLeftInt16, BitShiftLeftInt32, BitShiftLeftInt64, BitShiftRightInt16, BitShiftRightInt32, BitShiftRightInt64, SubInt16, SubInt32, SubInt64, SubFloat32, SubFloat64, SubInterval, SubTimestamp, SubTimestampTz, SubTimestampInterval, SubTimestampTzInterval, SubDate, SubDateInterval, SubTime, SubTimeInterval, SubNumeric, MulInt16, MulInt32, MulInt64, MulFloat32, MulFloat64, MulNumeric, MulInterval, DivInt16, DivInt32, DivInt64, DivFloat32, DivFloat64, DivNumeric, DivInterval, ModInt16, ModInt32, ModInt64, ModFloat32, ModFloat64, ModNumeric, RoundNumeric, Eq, NotEq, Lt, Lte, Gt, Gte, IsLikePatternMatch { case_insensitive: bool, }, IsRegexpMatch { case_insensitive: bool, }, ToCharTimestamp, ToCharTimestampTz, DateBinTimestamp, DateBinTimestampTz, ExtractInterval, ExtractTime, ExtractTimestamp, ExtractTimestampTz, ExtractDate, DatePartInterval, DatePartTime, DatePartTimestamp, DatePartTimestampTz, DateTruncTimestamp, DateTruncTimestampTz, TimezoneTimestamp, TimezoneTimestampTz, TimezoneTime { wall_time: NaiveDateTime, }, TimezoneIntervalTimestamp, TimezoneIntervalTimestampTz, TimezoneIntervalTime, TextConcat, JsonbGetInt64 { stringify: bool, }, JsonbGetString { stringify: bool, }, JsonbGetPath { stringify: bool, }, JsonbContainsString, JsonbConcat, JsonbContainsJsonb, JsonbDeleteInt64, JsonbDeleteString, MapContainsKey, MapGetValue, MapGetValues, MapContainsAllKeys, MapContainsAnyKeys, MapContainsMap, ConvertFrom, Left, Position, Right, RepeatString, Trim, TrimLeading, TrimTrailing, EncodedBytesCharLength, ListIndex, ListLengthMax { max_dim: usize, }, ArrayContains, ArrayIndex, ArrayLength, ArrayLower, ArrayRemove, ArrayUpper, ArrayArrayConcat, ListListConcat, ListElementConcat, ElementListConcat, ListRemove, DigestString, DigestBytes, MzRenderTypemod, Encode, Decode, LogNumeric, Power, PowerNumeric, PgGetConstraintdef,
}

Variants

And

Or

AddInt16

AddInt32

AddInt64

AddFloat32

AddFloat64

AddInterval

AddTimestampInterval

AddTimestampTzInterval

AddDateInterval

AddDateTime

AddTimeInterval

AddNumeric

BitAndInt16

BitAndInt32

BitAndInt64

BitOrInt16

BitOrInt32

BitOrInt64

BitXorInt16

BitXorInt32

BitXorInt64

BitShiftLeftInt16

BitShiftLeftInt32

BitShiftLeftInt64

BitShiftRightInt16

BitShiftRightInt32

BitShiftRightInt64

SubInt16

SubInt32

SubInt64

SubFloat32

SubFloat64

SubInterval

SubTimestamp

SubTimestampTz

SubTimestampInterval

SubTimestampTzInterval

SubDate

SubDateInterval

SubTime

SubTimeInterval

SubNumeric

MulInt16

MulInt32

MulInt64

MulFloat32

MulFloat64

MulNumeric

MulInterval

DivInt16

DivInt32

DivInt64

DivFloat32

DivFloat64

DivNumeric

DivInterval

ModInt16

ModInt32

ModInt64

ModFloat32

ModFloat64

ModNumeric

RoundNumeric

Eq

NotEq

Lt

Lte

Gt

Gte

IsLikePatternMatch

Fields

case_insensitive: bool

IsRegexpMatch

Fields

case_insensitive: bool

ToCharTimestamp

ToCharTimestampTz

DateBinTimestamp

DateBinTimestampTz

ExtractInterval

ExtractTime

ExtractTimestamp

ExtractTimestampTz

ExtractDate

DatePartInterval

DatePartTime

DatePartTimestamp

DatePartTimestampTz

DateTruncTimestamp

DateTruncTimestampTz

TimezoneTimestamp

TimezoneTimestampTz

TimezoneTime

Fields

wall_time: NaiveDateTime

TimezoneIntervalTimestamp

TimezoneIntervalTimestampTz

TimezoneIntervalTime

TextConcat

JsonbGetInt64

Fields

stringify: bool

JsonbGetString

Fields

stringify: bool

JsonbGetPath

Fields

stringify: bool

JsonbContainsString

JsonbConcat

JsonbContainsJsonb

JsonbDeleteInt64

JsonbDeleteString

MapContainsKey

MapGetValue

MapGetValues

MapContainsAllKeys

MapContainsAnyKeys

MapContainsMap

ConvertFrom

Left

Position

Right

RepeatString

Trim

TrimLeading

TrimTrailing

EncodedBytesCharLength

ListIndex

ListLengthMax

Fields

max_dim: usize

ArrayContains

ArrayIndex

ArrayLength

ArrayLower

ArrayRemove

ArrayUpper

ArrayArrayConcat

ListListConcat

ListElementConcat

ElementListConcat

ListRemove

DigestString

DigestBytes

MzRenderTypemod

Encode

Decode

LogNumeric

Power

PowerNumeric

PgGetConstraintdef

Implementations

Whether the function output is NULL if any of its inputs are NULL.

Whether the function might return NULL even if none of its inputs are NULL.

This is presently conservative, and may indicate that a function introduces nulls even when it does not.

Returns the negation of the given binary function, if it exists.

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

Adds names and types of the fields of the struct or enum to rti. Read more

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Serialize this value into the given Serde serializer. Read more

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

Formats an object with the “alternative” format ({:#}) and returns it.

Compare self to key and return true if they are equal.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more