[−][src]Struct evmc_sys::evmc_message
The message describing an EVM call, including a zero-depth calls from a transaction origin.
Fields
kind: evmc_call_kind
The kind of the call. For zero-depth calls ::EVMC_CALL SHOULD be used.
flags: u32
Additional flags modifying the call execution behavior. In the current version the only valid values are ::EVMC_STATIC or 0.
depth: i32
The call depth.
gas: i64
The amount of gas for message execution.
destination: evmc_address
The destination of the message.
sender: evmc_address
The sender of the message.
input_data: *const u8
The message input data.
This MAY be NULL.
input_size: usize
The size of the message input data.
If input_data is NULL this MUST be 0.
value: evmc_uint256be
The amount of Ether transferred with the message.
create2_salt: evmc_bytes32
The optional value used in new contract address construction.
Ignored unless kind is EVMC_CREATE2.
Trait Implementations
impl Clone for evmc_message
[src]
fn clone(&self) -> evmc_message
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for evmc_message
[src]
impl Debug for evmc_message
[src]
impl Hash for evmc_message
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<evmc_message> for evmc_message
[src]
fn eq(&self, other: &evmc_message) -> bool
[src]
fn ne(&self, other: &evmc_message) -> bool
[src]
impl StructuralPartialEq for evmc_message
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,