Enum flow_sdk::prelude::cadence_json::ValueRef [−][src]
pub enum ValueRef<'a> {
Show 35 variants
Void,
Int(BigInt),
Int8(i8),
Int16(i16),
Int32(i32),
Int64(i64),
Int128(i128),
Int256(BigInt),
UInt(BigUint),
UInt8(u8),
UInt16(u16),
UInt32(u32),
UInt64(u64),
UInt128(u128),
UInt256(BigUint),
Fix64(Fix64),
UFix64(UFix64),
Word8(Wrapping<u8>),
Word16(Wrapping<u16>),
Word32(Wrapping<u32>),
Word64(Wrapping<u64>),
Bool(bool),
Optional(Option<Box<ValueRef<'a>, Global>>),
String(&'a str),
Address(AddressRef<'a>),
Array(&'a [ValueRef<'a>]),
Dictionary(&'a [EntryRef<'a>]),
Struct(CompositeRef<'a>),
Resource(CompositeRef<'a>),
Event(CompositeRef<'a>),
Contract(CompositeRef<'a>),
Enum(CompositeRef<'a>),
Path(PathRef<'a>),
Type(&'a str),
Capability(CapabilityRef<'a>),
}
Variants
Int(BigInt)
Tuple Fields of Int
0: BigInt
Int8(i8)
Tuple Fields of Int8
0: i8
Int16(i16)
Tuple Fields of Int16
0: i16
Int32(i32)
Tuple Fields of Int32
0: i32
Int64(i64)
Tuple Fields of Int64
0: i64
Int128(i128)
Tuple Fields of Int128
0: i128
Int256(BigInt)
Tuple Fields of Int256
0: BigInt
UInt(BigUint)
Tuple Fields of UInt
0: BigUint
UInt8(u8)
Tuple Fields of UInt8
0: u8
UInt16(u16)
Tuple Fields of UInt16
0: u16
UInt32(u32)
Tuple Fields of UInt32
0: u32
UInt64(u64)
Tuple Fields of UInt64
0: u64
UInt128(u128)
Tuple Fields of UInt128
0: u128
UInt256(BigUint)
Tuple Fields of UInt256
0: BigUint
Fix64(Fix64)
Tuple Fields of Fix64
0: Fix64
UFix64(UFix64)
Tuple Fields of UFix64
0: UFix64
Bool(bool)
Tuple Fields of Bool
0: bool
String(&'a str)
Tuple Fields of String
0: &'a str
Address(AddressRef<'a>)
Tuple Fields of Address
0: AddressRef<'a>
Struct(CompositeRef<'a>)
Tuple Fields of Struct
0: CompositeRef<'a>
Resource(CompositeRef<'a>)
Tuple Fields of Resource
0: CompositeRef<'a>
Event(CompositeRef<'a>)
Tuple Fields of Event
0: CompositeRef<'a>
Contract(CompositeRef<'a>)
Tuple Fields of Contract
0: CompositeRef<'a>
Enum(CompositeRef<'a>)
Tuple Fields of Enum
0: CompositeRef<'a>
Path(PathRef<'a>)
Tuple Fields of Path
0: PathRef<'a>
Type(&'a str)
Tuple Fields of Type
0: &'a str
Capability(CapabilityRef<'a>)
Tuple Fields of Capability
0: CapabilityRef<'a>
Implementations
Trait Implementations
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for ValueRef<'a>
impl<'a> UnwindSafe for ValueRef<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more