Type Alias TransactTo
pub type TransactTo = TxKind;
Expand description
Transaction destination
Aliased Type§
enum TransactTo {
Create,
Call(Address),
}
Variants§
Create
A transaction that creates a contract.
Call(Address)
A transaction that calls a contract or transfer.
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 21 bytes
Size for each variant:
Create
: 0 bytesCall
: 20 bytes