Enum FunctionType

pub enum FunctionType {
Show 31 variants None = 0, Abs = 1, Am = 2, Cashflow = 3, DateDiff = 4, DateFiscal = 5, DateNew = 6, DateNow = 7, Default = 8, Descriptor = 9, Decimal = 10, Format = 11, FormatCurrency = 12, FormatDate = 13, FormatNumber = 14, If = 15, Integer = 16, Len = 17, Lowercase = 18, Max = 19, Mid = 20, Min = 21, Parse = 22, Pr = 23, Replace = 24, Round = 25, RoundFraction = 26, Set = 27, Trim = 28, Type = 29, Uppercase = 30,
}
Expand description

Function type enumeration.

Variants§

§

None = 0

No function.

§

Abs = 1

Absolute value function.

§

Am = 2

Am function.

§

Cashflow = 3

Cashflow function.

§

DateDiff = 4

Date difference function.

§

DateFiscal = 5

Fiscal date function.

§

DateNew = 6

New date function.

§

DateNow = 7

Current date function.

§

Default = 8

Default function.

§

Descriptor = 9

Descriptor function.

§

Decimal = 10

Decimal function.

§

Format = 11

Format function.

§

FormatCurrency = 12

Format currency function.

§

FormatDate = 13

Format date function.

§

FormatNumber = 14

Format number function.

§

If = 15

If function.

§

Integer = 16

Integer function.

§

Len = 17

Length function.

§

Lowercase = 18

Lowercase function.

§

Max = 19

Max function.

§

Mid = 20

Mid function.

§

Min = 21

Min function.

§

Parse = 22

Parse function.

§

Pr = 23

Periodic rate (PR) function.

§

Replace = 24

Replace function.

§

Round = 25

Round function.

§

RoundFraction = 26

RoundFraction function.

§

Set = 27

Set function.

§

Trim = 28

Trim function.

§

Type = 29

Type function.

§

Uppercase = 30

Uppercase function.

Trait Implementations§

§

impl Clone for FunctionType

§

fn clone(&self) -> FunctionType

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for FunctionType

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl PartialEq for FunctionType

§

fn eq(&self, other: &FunctionType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for FunctionType

§

impl Eq for FunctionType

§

impl StructuralPartialEq for FunctionType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.