Struct evmc_sys::evmc_message [−][src]
#[repr(C)]pub struct evmc_message { pub kind: evmc_call_kind, pub flags: u32, pub depth: i32, pub gas: i64, pub destination: evmc_address, pub sender: evmc_address, pub input_data: *const u8, pub input_size: usize, pub value: evmc_uint256be, pub create2_salt: evmc_bytes32, }
Expand description
The message describing an EVM call, including a zero-depth calls from a transaction origin.
Fields
kind: evmc_call_kindThe kind of the call. For zero-depth calls ::EVMC_CALL SHOULD be used.
flags: u32Additional flags modifying the call execution behavior. In the current version the only valid values are ::EVMC_STATIC or 0.
depth: i32The call depth.
gas: i64The amount of gas for message execution.
destination: evmc_addressThe destination of the message.
sender: evmc_addressThe sender of the message.
input_data: *const u8The message input data.
This MAY be NULL.
input_size: usizeThe size of the message input data.
If input_data is NULL this MUST be 0.
value: evmc_uint256beThe amount of Ether transferred with the message.
create2_salt: evmc_bytes32The optional value used in new contract address construction.
Ignored unless kind is EVMC_CREATE2.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for evmc_message
impl !Send for evmc_message
impl !Sync for evmc_message
impl Unpin for evmc_message
impl UnwindSafe for evmc_message
Blanket Implementations
Mutably borrows from an owned value. Read more