Struct ethcore::trace_types::trace::Create
[−]
[src]
pub struct Create { pub from: Address, pub value: U256, pub gas: U256, pub init: Bytes, }
Description of a create action, either a CREATE
operation or a create transction.
Fields
from: Address
The address of the creator.
value: U256
The value with which the new account is endowed.
gas: U256
The gas available for the creation init code.
init: Bytes
The init code.
Methods
impl Create
[src]
Trait Implementations
impl Debug for Create
[src]
impl Clone for Create
[src]
fn clone(&self) -> Create
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Create
[src]
fn eq(&self, __arg_0: &Create) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Create) -> bool
This method tests for !=
.
impl From<ActionParams> for Create
[src]
fn from(p: ActionParams) -> Self
Performs the conversion.
impl Encodable for Create
[src]
fn rlp_append(&self, s: &mut RlpStream)
Append a value to the stream
fn rlp_bytes(&self) -> ElasticArray1024<u8>
Get rlp-encoded bytes for this instance
impl Decodable for Create
[src]
fn decode<D>(decoder: &D) -> Result<Self, DecoderError> where D: Decoder
Decode a value from RLP bytes