pub enum Kind {
Show 214 variants
Not(()),
IsNull(()),
IsTrue(()),
IsFalse(()),
BitNotInt16(()),
BitNotInt32(()),
BitNotInt64(()),
NegInt16(()),
NegInt32(()),
NegInt64(()),
NegFloat32(()),
NegFloat64(()),
NegNumeric(()),
NegInterval(()),
SqrtFloat64(()),
SqrtNumeric(()),
CbrtFloat64(()),
AbsInt16(()),
AbsInt32(()),
AbsInt64(()),
AbsFloat32(()),
AbsFloat64(()),
AbsNumeric(()),
CastBoolToString(()),
CastBoolToStringNonstandard(()),
CastBoolToInt32(()),
CastInt16ToFloat32(()),
CastInt16ToFloat64(()),
CastInt16ToInt32(()),
CastInt16ToInt64(()),
CastInt16ToString(()),
CastInt2VectorToArray(()),
CastInt32ToBool(()),
CastInt32ToFloat32(()),
CastInt32ToFloat64(()),
CastInt32ToOid(()),
CastInt32ToPgLegacyChar(()),
CastInt32ToInt16(()),
CastInt32ToInt64(()),
CastInt32ToString(()),
CastOidToInt32(()),
CastOidToInt64(()),
CastOidToString(()),
CastOidToRegClass(()),
CastRegClassToOid(()),
CastOidToRegProc(()),
CastRegProcToOid(()),
CastOidToRegType(()),
CastRegTypeToOid(()),
CastInt64ToInt16(()),
CastInt64ToInt32(()),
CastInt16ToNumeric(ProtoOptionalNumericMaxScale),
CastInt32ToNumeric(ProtoOptionalNumericMaxScale),
CastInt64ToBool(()),
CastInt64ToNumeric(ProtoOptionalNumericMaxScale),
CastInt64ToFloat32(()),
CastInt64ToFloat64(()),
CastInt64ToOid(()),
CastInt64ToString(()),
CastFloat32ToInt16(()),
CastFloat32ToInt32(()),
CastFloat32ToInt64(()),
CastFloat32ToFloat64(()),
CastFloat32ToString(()),
CastFloat32ToNumeric(ProtoOptionalNumericMaxScale),
CastFloat64ToNumeric(ProtoOptionalNumericMaxScale),
CastFloat64ToInt16(()),
CastFloat64ToInt32(()),
CastFloat64ToInt64(()),
CastFloat64ToFloat32(()),
CastFloat64ToString(()),
CastNumericToFloat32(()),
CastNumericToFloat64(()),
CastNumericToInt16(()),
CastNumericToInt32(()),
CastNumericToInt64(()),
CastNumericToString(()),
CastStringToBool(()),
CastStringToPgLegacyChar(()),
CastStringToBytes(()),
CastStringToInt16(()),
CastStringToInt32(()),
CastStringToInt64(()),
CastStringToInt2Vector(()),
CastStringToOid(()),
CastStringToFloat32(()),
CastStringToFloat64(()),
CastStringToDate(()),
CastStringToArray(()),
CastStringToList(()),
CastStringToMap(()),
CastStringToTime(()),
CastStringToTimestamp(()),
CastStringToTimestampTz(()),
CastStringToInterval(()),
CastStringToNumeric(ProtoOptionalNumericMaxScale),
CastStringToUuid(()),
CastStringToChar(()),
PadChar(()),
CastStringToVarChar(()),
CastCharToString(()),
CastVarCharToString(()),
CastDateToTimestamp(()),
CastDateToTimestampTz(()),
CastDateToString(()),
CastTimeToInterval(()),
CastTimeToString(()),
CastIntervalToString(()),
CastIntervalToTime(()),
CastTimestampToDate(()),
CastTimestampToTimestampTz(()),
CastTimestampToString(()),
CastTimestampToTime(()),
CastTimestampTzToDate(()),
CastTimestampTzToTimestamp(()),
CastTimestampTzToString(()),
CastTimestampTzToTime(()),
CastPgLegacyCharToString(()),
CastPgLegacyCharToInt32(()),
CastBytesToString(()),
CastStringToJsonb(()),
CastJsonbToString(()),
CastJsonbOrNullToJsonb(()),
CastJsonbToInt16(()),
CastJsonbToInt32(()),
CastJsonbToInt64(()),
CastJsonbToFloat32(()),
CastJsonbToFloat64(()),
CastJsonbToNumeric(()),
CastJsonbToBool(()),
CastUuidToString(()),
CastRecordToString(()),
CastRecord1ToRecord2(()),
CastArrayToString(()),
CastListToString(()),
CastList1ToList2(()),
CastArrayToListOneDim(()),
CastMapToString(()),
CastInt2VectorToString(()),
CeilFloat32(()),
CeilFloat64(()),
CeilNumeric(()),
FloorFloat32(()),
FloorFloat64(()),
FloorNumeric(()),
Ascii(()),
BitLengthBytes(()),
BitLengthString(()),
ByteLengthBytes(()),
ByteLengthString(()),
CharLength(()),
Chr(()),
IsLikeMatch(()),
IsRegexpMatch(()),
RegexpMatch(()),
ExtractInterval(()),
ExtractTime(()),
ExtractTimestamp(()),
ExtractTimestampTz(()),
ExtractDate(()),
DatePartInterval(()),
DatePartTime(()),
DatePartTimestamp(()),
DatePartTimestampTz(()),
DateTruncTimestamp(()),
DateTruncTimestampTz(()),
TimezoneTimestamp(()),
TimezoneTimestampTz(()),
TimezoneTime(()),
ToTimestamp(()),
JustifyDays(()),
JustifyHours(()),
JustifyInterval(()),
JsonbArrayLength(()),
JsonbTypeof(()),
JsonbStripNulls(()),
JsonbPretty(()),
RoundFloat32(()),
RoundFloat64(()),
RoundNumeric(()),
TrimWhitespace(()),
TrimLeadingWhitespace(()),
TrimTrailingWhitespace(()),
RecordGet(()),
ListLength(()),
MapLength(()),
Upper(()),
Lower(()),
Cos(()),
Acos(()),
Cosh(()),
Acosh(()),
Sin(()),
Asin(()),
Sinh(()),
Asinh(()),
Tan(()),
Atan(()),
Tanh(()),
Atanh(()),
Cot(()),
Degrees(()),
Radians(()),
Log10(()),
Log10Numeric(()),
Ln(()),
LnNumeric(()),
Exp(()),
ExpNumeric(()),
Sleep(()),
RescaleNumeric(()),
PgColumnSize(()),
MzRowSize(()),
MzTypeName(()),
}
Variants
Not(())
IsNull(())
IsTrue(())
IsFalse(())
BitNotInt16(())
BitNotInt32(())
BitNotInt64(())
NegInt16(())
NegInt32(())
NegInt64(())
NegFloat32(())
NegFloat64(())
NegNumeric(())
NegInterval(())
SqrtFloat64(())
SqrtNumeric(())
CbrtFloat64(())
AbsInt16(())
AbsInt32(())
AbsInt64(())
AbsFloat32(())
AbsFloat64(())
AbsNumeric(())
CastBoolToString(())
CastBoolToStringNonstandard(())
CastBoolToInt32(())
CastInt16ToFloat32(())
CastInt16ToFloat64(())
CastInt16ToInt32(())
CastInt16ToInt64(())
CastInt16ToString(())
CastInt2VectorToArray(())
CastInt32ToBool(())
CastInt32ToFloat32(())
CastInt32ToFloat64(())
CastInt32ToOid(())
CastInt32ToPgLegacyChar(())
CastInt32ToInt16(())
CastInt32ToInt64(())
CastInt32ToString(())
CastOidToInt32(())
CastOidToInt64(())
CastOidToString(())
CastOidToRegClass(())
CastRegClassToOid(())
CastOidToRegProc(())
CastRegProcToOid(())
CastOidToRegType(())
CastRegTypeToOid(())
CastInt64ToInt16(())
CastInt64ToInt32(())
CastInt16ToNumeric(ProtoOptionalNumericMaxScale)
CastInt32ToNumeric(ProtoOptionalNumericMaxScale)
CastInt64ToBool(())
CastInt64ToNumeric(ProtoOptionalNumericMaxScale)
CastInt64ToFloat32(())
CastInt64ToFloat64(())
CastInt64ToOid(())
CastInt64ToString(())
CastFloat32ToInt16(())
CastFloat32ToInt32(())
CastFloat32ToInt64(())
CastFloat32ToFloat64(())
CastFloat32ToString(())
CastFloat32ToNumeric(ProtoOptionalNumericMaxScale)
CastFloat64ToNumeric(ProtoOptionalNumericMaxScale)
CastFloat64ToInt16(())
CastFloat64ToInt32(())
CastFloat64ToInt64(())
CastFloat64ToFloat32(())
CastFloat64ToString(())
CastNumericToFloat32(())
CastNumericToFloat64(())
CastNumericToInt16(())
CastNumericToInt32(())
CastNumericToInt64(())
CastNumericToString(())
CastStringToBool(())
CastStringToPgLegacyChar(())
CastStringToBytes(())
CastStringToInt16(())
CastStringToInt32(())
CastStringToInt64(())
CastStringToInt2Vector(())
CastStringToOid(())
CastStringToFloat32(())
CastStringToFloat64(())
CastStringToDate(())
CastStringToArray(())
unsupported: CastStringToArray
CastStringToList(())
unsupported: CastStringToList
CastStringToMap(())
unsupported: CastStringToMap
CastStringToTime(())
CastStringToTimestamp(())
CastStringToTimestampTz(())
CastStringToInterval(())
CastStringToNumeric(ProtoOptionalNumericMaxScale)
CastStringToUuid(())
CastStringToChar(())
unsupported: CastStringToChar
PadChar(())
unsupported: PadChar
CastStringToVarChar(())
unsupported: CastStringToVarChar
CastCharToString(())
CastVarCharToString(())
CastDateToTimestamp(())
CastDateToTimestampTz(())
CastDateToString(())
CastTimeToInterval(())
CastTimeToString(())
CastIntervalToString(())
CastIntervalToTime(())
CastTimestampToDate(())
CastTimestampToTimestampTz(())
CastTimestampToString(())
CastTimestampToTime(())
CastTimestampTzToDate(())
CastTimestampTzToTimestamp(())
CastTimestampTzToString(())
CastTimestampTzToTime(())
CastPgLegacyCharToString(())
CastPgLegacyCharToInt32(())
CastBytesToString(())
CastStringToJsonb(())
unsupported: CastStringToJsonb,
CastJsonbToString(())
unsupported: CastJsonbToString,
CastJsonbOrNullToJsonb(())
unsupported: CastJsonbOrNullToJsonb,
CastJsonbToInt16(())
unsupported: CastJsonbToInt16,
CastJsonbToInt32(())
unsupported: CastJsonbToInt32,
CastJsonbToInt64(())
unsupported: CastJsonbToInt64,
CastJsonbToFloat32(())
unsupported: CastJsonbToFloat32,
CastJsonbToFloat64(())
unsupported: CastJsonbToFloat64,
CastJsonbToNumeric(())
unsupported: CastJsonbToNumeric(Option
CastJsonbToBool(())
unsupported: CastJsonbToBool,
CastUuidToString(())
unsupported: CastUuidToString(CastUuidToString),
CastRecordToString(())
unsupported: CastRecordToString { unsupported: ty: ScalarType, unsupported: },
CastRecord1ToRecord2(())
unsupported: CastRecord1ToRecord2 {
unsupported: return_ty: ScalarType,
unsupported: cast_exprs: Vec
CastArrayToString(())
unsupported: CastArrayToString { unsupported: ty: ScalarType, unsupported: },
CastListToString(())
unsupported: CastListToString { unsupported: ty: ScalarType, unsupported: },
CastList1ToList2(())
unsupported: CastList1ToList2 {
unsupported: // List2’s type
unsupported: return_ty: ScalarType,
unsupported: // The expression to cast List1’s elements to List2’s elements’ type
unsupported: cast_expr: Box
CastArrayToListOneDim(())
unsupported: CastArrayToListOneDim(CastArrayToListOneDim),
CastMapToString(())
unsupported: CastMapToString { unsupported: ty: ScalarType, unsupported: },
CastInt2VectorToString(())
unsupported: CastInt2VectorToString,
CeilFloat32(())
unsupported: CeilFloat32(CeilFloat32),
CeilFloat64(())
unsupported: CeilFloat64(CeilFloat64),
CeilNumeric(())
unsupported: CeilNumeric(CeilNumeric),
FloorFloat32(())
unsupported: FloorFloat32(FloorFloat32),
FloorFloat64(())
unsupported: FloorFloat64(FloorFloat64),
FloorNumeric(())
unsupported: FloorNumeric(FloorNumeric),
Ascii(())
unsupported: Ascii,
BitLengthBytes(())
unsupported: BitLengthBytes,
BitLengthString(())
unsupported: BitLengthString,
ByteLengthBytes(())
unsupported: ByteLengthBytes,
ByteLengthString(())
unsupported: ByteLengthString,
CharLength(())
unsupported: CharLength,
Chr(())
unsupported: Chr(Chr),
IsLikeMatch(())
unsupported: IsLikeMatch(like_pattern::Matcher),
IsRegexpMatch(())
unsupported: IsRegexpMatch(Regex),
RegexpMatch(())
unsupported: RegexpMatch(Regex),
ExtractInterval(())
unsupported: ExtractInterval(DateTimeUnits),
ExtractTime(())
unsupported: ExtractTime(DateTimeUnits),
ExtractTimestamp(())
unsupported: ExtractTimestamp(DateTimeUnits),
ExtractTimestampTz(())
unsupported: ExtractTimestampTz(DateTimeUnits),
ExtractDate(())
unsupported: ExtractDate(DateTimeUnits),
DatePartInterval(())
unsupported: DatePartInterval(DateTimeUnits),
DatePartTime(())
unsupported: DatePartTime(DateTimeUnits),
DatePartTimestamp(())
unsupported: DatePartTimestamp(DateTimeUnits),
DatePartTimestampTz(())
unsupported: DatePartTimestampTz(DateTimeUnits),
DateTruncTimestamp(())
unsupported: DateTruncTimestamp(DateTimeUnits),
DateTruncTimestampTz(())
unsupported: DateTruncTimestampTz(DateTimeUnits),
TimezoneTimestamp(())
unsupported: TimezoneTimestamp(Timezone),
TimezoneTimestampTz(())
unsupported: TimezoneTimestampTz(Timezone),
TimezoneTime(())
unsupported: TimezoneTime { unsupported: tz: Timezone, unsupported: wall_time: NaiveDateTime, unsupported: },
ToTimestamp(())
unsupported: ToTimestamp(ToTimestamp),
JustifyDays(())
unsupported: JustifyDays(JustifyDays),
JustifyHours(())
unsupported: JustifyHours(JustifyHours),
JustifyInterval(())
unsupported: JustifyInterval(JustifyInterval),
JsonbArrayLength(())
unsupported: JsonbArrayLength,
JsonbTypeof(())
unsupported: JsonbTypeof,
JsonbStripNulls(())
unsupported: JsonbStripNulls,
JsonbPretty(())
unsupported: JsonbPretty,
RoundFloat32(())
unsupported: RoundFloat32(RoundFloat32),
RoundFloat64(())
unsupported: RoundFloat64(RoundFloat64),
RoundNumeric(())
unsupported: RoundNumeric(RoundNumeric),
TrimWhitespace(())
unsupported: TrimWhitespace,
TrimLeadingWhitespace(())
unsupported: TrimLeadingWhitespace,
TrimTrailingWhitespace(())
unsupported: TrimTrailingWhitespace,
RecordGet(())
unsupported: RecordGet(usize),
ListLength(())
unsupported: ListLength,
MapLength(())
unsupported: MapLength,
Upper(())
unsupported: Upper,
Lower(())
unsupported: Lower,
Cos(())
unsupported: Cos(Cos),
Acos(())
unsupported: Acos(Acos),
Cosh(())
unsupported: Cosh(Cosh),
Acosh(())
unsupported: Acosh(Acosh),
Sin(())
unsupported: Sin(Sin),
Asin(())
unsupported: Asin(Asin),
Sinh(())
unsupported: Sinh(Sinh),
Asinh(())
unsupported: Asinh(Asinh),
Tan(())
unsupported: Tan(Tan),
Atan(())
unsupported: Atan(Atan),
Tanh(())
unsupported: Tanh(Tanh),
Atanh(())
unsupported: Atanh(Atanh),
Cot(())
unsupported: Cot(Cot),
Degrees(())
unsupported: Degrees(Degrees),
Radians(())
unsupported: Radians(Radians),
Log10(())
unsupported: Log10(Log10),
Log10Numeric(())
unsupported: Log10Numeric(Log10Numeric),
Ln(())
unsupported: Ln(Ln),
LnNumeric(())
unsupported: LnNumeric(LnNumeric),
Exp(())
unsupported: Exp(Exp),
ExpNumeric(())
unsupported: ExpNumeric(ExpNumeric),
Sleep(())
unsupported: Sleep(Sleep),
RescaleNumeric(())
unsupported: RescaleNumeric(NumericMaxScale),
PgColumnSize(())
unsupported: PgColumnSize(PgColumnSize),
MzRowSize(())
unsupported: MzRowSize(MzRowSize),
MzTypeName(())
unsupported: MzTypeName(MzTypeName),
Implementations
Trait Implementations
impl StructuralPartialEq for Kind
Auto Trait Implementations
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnwindSafe for Kind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more