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§
Source§impl Clone for DamlBuiltinFunction
impl Clone for DamlBuiltinFunction
Source§fn clone(&self) -> DamlBuiltinFunction
fn clone(&self) -> DamlBuiltinFunction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> DamlVisitableElement<'a> for DamlBuiltinFunction
impl<'a> DamlVisitableElement<'a> for DamlBuiltinFunction
fn accept(&'a self, visitor: &'a mut impl DamlElementVisitor)
Source§impl Debug for DamlBuiltinFunction
impl Debug for DamlBuiltinFunction
Source§impl IntoBoundedStatic for DamlBuiltinFunction
impl IntoBoundedStatic for DamlBuiltinFunction
Source§type Static = DamlBuiltinFunction
type Static = DamlBuiltinFunction
The target type is bounded by the
'static lifetime.Source§fn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
Convert an owned
T into an owned T such that T: 'static.Source§impl Serialize for DamlBuiltinFunction
impl Serialize for DamlBuiltinFunction
Auto Trait Implementations§
impl Freeze for DamlBuiltinFunction
impl RefUnwindSafe for DamlBuiltinFunction
impl Send for DamlBuiltinFunction
impl Sync for DamlBuiltinFunction
impl Unpin for DamlBuiltinFunction
impl UnwindSafe for DamlBuiltinFunction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more