pub type ScryptoValue = Value<ScryptoCustomValueKind, ScryptoCustomValue>;

Aliased Type§

enum ScryptoValue {
Show 17 variants Bool { value: bool, }, I8 { value: i8, }, I16 { value: i16, }, I32 { value: i32, }, I64 { value: i64, }, I128 { value: i128, }, U8 { value: u8, }, U16 { value: u16, }, U32 { value: u32, }, U64 { value: u64, }, U128 { value: u128, }, String { value: String, }, Enum { discriminator: u8, fields: Vec<Value<ScryptoCustomValueKind, ScryptoCustomValue>>, }, Array { element_value_kind: ValueKind<ScryptoCustomValueKind>, elements: Vec<Value<ScryptoCustomValueKind, ScryptoCustomValue>>, }, Tuple { fields: Vec<Value<ScryptoCustomValueKind, ScryptoCustomValue>>, }, Map { key_value_kind: ValueKind<ScryptoCustomValueKind>, value_value_kind: ValueKind<ScryptoCustomValueKind>, entries: Vec<(Value<ScryptoCustomValueKind, ScryptoCustomValue>, Value<ScryptoCustomValueKind, ScryptoCustomValue>)>, }, Custom { value: ScryptoCustomValue, },
}

Variants§

§

Bool

Fields

§value: bool
§

I8

Fields

§value: i8
§

I16

Fields

§value: i16
§

I32

Fields

§value: i32
§

I64

Fields

§value: i64
§

I128

Fields

§value: i128
§

U8

Fields

§value: u8
§

U16

Fields

§value: u16
§

U32

Fields

§value: u32
§

U64

Fields

§value: u64
§

U128

Fields

§value: u128
§

String

Fields

§value: String
§

Enum

§

Array

§

Tuple

§

Map

§

Custom

Trait Implementations§