logo
pub enum DamlBuiltinFunction {
Show 119 variants AddDecimal, SubDecimal, MulDecimal, DivDecimal, RoundDecimal, AddNumeric, SubNumeric, MulNumeric, DivNumeric, RoundNumeric, CastNumeric, ShiftNumeric, AddInt64, SubInt64, MulInt64, DivInt64, ModInt64, ExpInt64, Foldl, Foldr, TextmapEmpty, TextmapInsert, TextmapLookup, TextmapDelete, TextmapToList, TextmapSize, ExplodeText, AppendText, Error, AnyExceptionMessage, LeqInt64, LeqDecimal, LeqNumeric, LeqText, LeqTimestamp, LeqDate, LeqParty, LessInt64, LessDecimal, LessNumeric, LessText, LessTimestamp, LessDate, LessParty, GeqInt64, GeqDecimal, GeqNumeric, GeqText, GeqTimestamp, GeqDate, GeqParty, GreaterInt64, GreaterDecimal, GreaterNumeric, GreaterText, GreaterTimestamp, GreaterDate, GreaterParty, Int64ToText, DecimalToText, NumericToText, TextToText, TimestampToText, DateToText, PartyToQuotedText, PartyToText, TextToParty, TextToInt64, TextToDecimal, TextToNumeric, ContractIdToText, Sha256Text, DateToUnixDays, UnixDaysToDate, TimestampToUnixMicroseconds, UnixMicrosecondsToTimestamp, Int64ToDecimal, DecimalToInt64, Int64ToNumeric, NumericToInt64, ImplodeText, EqualInt64, EqualDecimal, EqualNumeric, EqualText, EqualTimestamp, EqualDate, EqualParty, EqualBool, EqualContractId, EqualList, EqualTypeRep, Trace, CoerceContractId, CodePointsToText, TextPointsToCode, ScaleBignumeric, PrecisionBignumeric, AddBignumeric, SubBignumeric, MulBignumeric, DivBignumeric, ShiftBignumeric, ShiftRightBignumeric, BigNumericToNumeric, NumericToBigNumeric, BigNumericToText, GenmapEmpty, GenmapInsert, GenmapLookup, GenmapDelete, GenmapKeys, GenmapValues, GenmapSize, Equal, LessEq, Less, GreaterEq, Greater,
}
Expand description

A Daml expression builtin function.

Variants

AddDecimal

SubDecimal

MulDecimal

DivDecimal

RoundDecimal

AddNumeric

SubNumeric

MulNumeric

DivNumeric

RoundNumeric

CastNumeric

ShiftNumeric

AddInt64

SubInt64

MulInt64

DivInt64

ModInt64

ExpInt64

Foldl

Foldr

TextmapEmpty

TextmapInsert

TextmapLookup

TextmapDelete

TextmapToList

TextmapSize

ExplodeText

AppendText

Error

AnyExceptionMessage

LeqInt64

LeqDecimal

LeqNumeric

LeqText

LeqTimestamp

LeqDate

LeqParty

LessInt64

LessDecimal

LessNumeric

LessText

LessTimestamp

LessDate

LessParty

GeqInt64

GeqDecimal

GeqNumeric

GeqText

GeqTimestamp

GeqDate

GeqParty

GreaterInt64

GreaterDecimal

GreaterNumeric

GreaterText

GreaterTimestamp

GreaterDate

GreaterParty

Int64ToText

DecimalToText

NumericToText

TextToText

TimestampToText

DateToText

PartyToQuotedText

PartyToText

TextToParty

TextToInt64

TextToDecimal

TextToNumeric

ContractIdToText

Sha256Text

DateToUnixDays

UnixDaysToDate

TimestampToUnixMicroseconds

UnixMicrosecondsToTimestamp

Int64ToDecimal

DecimalToInt64

Int64ToNumeric

NumericToInt64

ImplodeText

EqualInt64

EqualDecimal

EqualNumeric

EqualText

EqualTimestamp

EqualDate

EqualParty

EqualBool

EqualContractId

EqualList

EqualTypeRep

Trace

CoerceContractId

CodePointsToText

TextPointsToCode

ScaleBignumeric

PrecisionBignumeric

AddBignumeric

SubBignumeric

MulBignumeric

DivBignumeric

ShiftBignumeric

ShiftRightBignumeric

BigNumericToNumeric

NumericToBigNumeric

BigNumericToText

GenmapEmpty

GenmapInsert

GenmapLookup

GenmapDelete

GenmapKeys

GenmapValues

GenmapSize

Equal

LessEq

Less

GreaterEq

Greater

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

The target type is bounded by the 'static lifetime.

Convert an owned T into an owned T such that T: 'static.

Serialize this value into the given Serde serializer. Read more

The target type is bounded by the 'static lifetime.

Convert an &T to an owned T such that T: 'static.

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

Returns the argument unchanged.

Calls U::from(self).

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

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

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.