#[non_exhaustive]pub enum Function {
Show 129 variants
Iif,
IsNull,
IsNullOrEmpty,
Ascii,
Char,
CharIndex,
Concat,
Contains,
EndsWith,
Insert,
Len,
Lower,
NewLine,
PadLeft,
PadRight,
Remove,
Replace,
Reverse,
StartsWith,
Substring,
ToStr,
Trim,
Upper,
Abs,
Acos,
Asin,
Atn,
Atn2,
BigMul,
Ceiling,
Cos,
Cosh,
Exp,
Floor,
Log,
Log10,
Max2,
Min2,
Power,
Rnd,
Round,
Sign,
Sin,
Sinh,
Sqr,
Sqrt,
Tan,
Tanh,
ToDecimal,
ToDouble,
ToFloat,
ToInt,
ToLong,
ToNumber,
AddDays,
AddHours,
AddMinutes,
AddMonths,
AddSeconds,
AddYears,
DateDiffDay,
DateDiffHour,
DateDiffMinute,
DateDiffMonth,
DateDiffSecond,
DateDiffYear,
DateTimeFromParts,
GetDate,
GetDay,
GetDayOfWeek,
GetDayOfYear,
GetHour,
GetMinute,
GetMonth,
GetSecond,
GetYear,
Now,
Today,
UtcNow,
LocalDateTimeToday,
LocalDateTimeNow,
LocalDateTimeTomorrow,
LocalDateTimeYesterday,
LocalDateTimeDayAfterTomorrow,
LocalDateTimeThisWeek,
LocalDateTimeLastWeek,
LocalDateTimeNextWeek,
LocalDateTimeTwoWeeksAway,
LocalDateTimeThisMonth,
LocalDateTimeLastMonth,
LocalDateTimeNextMonth,
LocalDateTimeTwoMonthsAway,
LocalDateTimeThisYear,
LocalDateTimeLastYear,
LocalDateTimeNextYear,
LocalDateTimeTwoYearsAway,
LocalDateTimeYearBeforeToday,
InDateRange,
InTimeRange,
OutOfTimeRange,
IsSameDay,
IsThisWeek,
IsThisMonth,
IsLastMonth,
IsNextMonth,
IsThisYear,
IsLastYear,
IsNextYear,
IsYearToDate,
IsJanuary,
IsFebruary,
IsMarch,
IsApril,
IsMay,
IsJune,
IsJuly,
IsAugust,
IsSeptember,
IsOctober,
IsNovember,
IsDecember,
FormatString,
Rgb,
Argb,
PageNumber,
PageCount,
CurrentRowIndexInGroup,
PrevRowColumnValue,
NextRowColumnValue,
}Expand description
The built-in scalar functions. Names are case-insensitive in expressions.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Iif
IsNull
IsNullOrEmpty
Ascii
Char
CharIndex
Concat
Contains
EndsWith
Insert
Len
Lower
NewLine
PadLeft
PadRight
Remove
Replace
Reverse
StartsWith
Substring
ToStr
Trim
Upper
Abs
Acos
Asin
Atn
Atn2
BigMul
Ceiling
Cos
Cosh
Exp
Floor
Log
Log10
Max2
Min2
Power
Rnd
Round
Sign
Sin
Sinh
Sqr
Sqrt
Tan
Tanh
ToDecimal
ToDouble
ToFloat
ToInt
ToLong
ToNumber
AddDays
AddHours
AddMinutes
AddMonths
AddSeconds
AddYears
DateDiffDay
DateDiffHour
DateDiffMinute
DateDiffMonth
DateDiffSecond
DateDiffYear
DateTimeFromParts
GetDate
GetDay
GetDayOfWeek
GetDayOfYear
GetHour
GetMinute
GetMonth
GetSecond
GetYear
Now
Today
UtcNow
LocalDateTimeToday
LocalDateTimeNow
LocalDateTimeTomorrow
LocalDateTimeYesterday
LocalDateTimeDayAfterTomorrow
LocalDateTimeThisWeek
LocalDateTimeLastWeek
LocalDateTimeNextWeek
LocalDateTimeTwoWeeksAway
LocalDateTimeThisMonth
LocalDateTimeLastMonth
LocalDateTimeNextMonth
LocalDateTimeTwoMonthsAway
LocalDateTimeThisYear
LocalDateTimeLastYear
LocalDateTimeNextYear
LocalDateTimeTwoYearsAway
LocalDateTimeYearBeforeToday
InDateRange
InTimeRange
OutOfTimeRange
IsSameDay
IsThisWeek
IsThisMonth
IsLastMonth
IsNextMonth
IsThisYear
IsLastYear
IsNextYear
IsYearToDate
IsJanuary
IsFebruary
IsMarch
IsApril
IsMay
IsJune
IsJuly
IsAugust
IsSeptember
IsOctober
IsNovember
IsDecember
FormatString
Rgb
Argb
PageNumber
PageCount
CurrentRowIndexInGroup
PrevRowColumnValue
NextRowColumnValue
Implementations§
Trait Implementations§
impl Copy for Function
impl Eq for Function
impl StructuralPartialEq for Function
Auto Trait Implementations§
impl Freeze for Function
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnsafeUnpin for Function
impl UnwindSafe for Function
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
Mutably borrows from an owned value. Read more