Enum flow_sdk::prelude::cadence_json::ValueOwned[][src]

pub enum ValueOwned {
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<ValueOwned, Global>>), String(String), Address(AddressOwned), Array(Vec<ValueOwned, Global>), Dictionary(Vec<EntryOwned, Global>), Struct(CompositeOwned), Resource(CompositeOwned), Event(CompositeOwned), Contract(CompositeOwned), Enum(CompositeOwned), Path(PathOwned), Type(String), Capability(CapabilityOwned),
}
Expand description

An owned Cadence value.

Variants

Void
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
Word8(Wrapping<u8>)

Tuple Fields of Word8

0: Wrapping<u8>
Word16(Wrapping<u16>)

Tuple Fields of Word16

0: Wrapping<u16>
Word32(Wrapping<u32>)

Tuple Fields of Word32

0: Wrapping<u32>
Word64(Wrapping<u64>)

Tuple Fields of Word64

0: Wrapping<u64>
Bool(bool)

Tuple Fields of Bool

0: bool
Optional(Option<Box<ValueOwned, Global>>)

Tuple Fields of Optional

0: Option<Box<ValueOwned, Global>>
String(String)

Tuple Fields of String

0: String
Address(AddressOwned)

Tuple Fields of Address

0: AddressOwned
Array(Vec<ValueOwned, Global>)

Tuple Fields of Array

0: Vec<ValueOwned, Global>
Dictionary(Vec<EntryOwned, Global>)

Tuple Fields of Dictionary

0: Vec<EntryOwned, Global>
Struct(CompositeOwned)

Tuple Fields of Struct

0: CompositeOwned
Resource(CompositeOwned)

Tuple Fields of Resource

0: CompositeOwned
Event(CompositeOwned)

Tuple Fields of Event

0: CompositeOwned
Contract(CompositeOwned)

Tuple Fields of Contract

0: CompositeOwned
Enum(CompositeOwned)

Tuple Fields of Enum

0: CompositeOwned
Path(PathOwned)

Tuple Fields of Path

0: PathOwned
Type(String)

Tuple Fields of Type

0: String
Capability(CapabilityOwned)

Tuple Fields of Capability

0: CapabilityOwned

Implementations

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

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

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

Compare self to key and return true if they are equal.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

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)

recently added

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.

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