Enum daml_lf::element::DamlBuiltinFunction
source · [−]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
sourceimpl Clone for DamlBuiltinFunction
impl Clone for DamlBuiltinFunction
sourcefn clone(&self) -> DamlBuiltinFunction
fn clone(&self) -> DamlBuiltinFunction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> DamlVisitableElement<'a> for DamlBuiltinFunction
impl<'a> DamlVisitableElement<'a> for DamlBuiltinFunction
fn accept(&'a self, visitor: &'a mut impl DamlElementVisitor)
sourceimpl Debug for DamlBuiltinFunction
impl Debug for DamlBuiltinFunction
sourceimpl IntoBoundedStatic for DamlBuiltinFunction
impl IntoBoundedStatic for DamlBuiltinFunction
type Static = DamlBuiltinFunction
type Static = DamlBuiltinFunction
The target type is bounded by the 'static lifetime.
sourcefn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
Convert an owned T into an owned T such that T: 'static.
sourceimpl Serialize for DamlBuiltinFunction
impl Serialize for DamlBuiltinFunction
sourceimpl ToBoundedStatic for DamlBuiltinFunction
impl ToBoundedStatic for DamlBuiltinFunction
type Static = DamlBuiltinFunction
type Static = DamlBuiltinFunction
The target type is bounded by the 'static lifetime.
Auto Trait Implementations
impl RefUnwindSafe for DamlBuiltinFunction
impl Send for DamlBuiltinFunction
impl Sync for DamlBuiltinFunction
impl Unpin for DamlBuiltinFunction
impl UnwindSafe for DamlBuiltinFunction
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> 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)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more