Enum ethcore_transaction::Action [−][src]
pub enum Action { Create, Call(Address), }
Transaction action type.
Variants
Create
Create creates new contract.
Call(Address)
Calls contract at given address. In the case of a transfer, this is the receiver's address.'
Trait Implementations
impl Debug for Action
[src]
impl Debug for Action
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Action
[src]
impl Clone for Action
fn clone(&self) -> Action
[src]
fn clone(&self) -> Action
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Action
[src]
impl PartialEq for Action
fn eq(&self, other: &Action) -> bool
[src]
fn eq(&self, other: &Action) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Action) -> bool
[src]
fn ne(&self, other: &Action) -> bool
This method tests for !=
.
impl Eq for Action
[src]
impl Eq for Action
impl Default for Action
[src]
impl Default for Action
impl Decodable for Action
[src]
impl Decodable for Action
fn decode(rlp: &Rlp) -> Result<Self, DecoderError>
[src]
fn decode(rlp: &Rlp) -> Result<Self, DecoderError>
Decode a value from RLP bytes
impl Encodable for Action
[src]
impl Encodable for Action
fn rlp_append(&self, s: &mut RlpStream)
[src]
fn rlp_append(&self, s: &mut RlpStream)
Append a value to the stream
fn rlp_bytes(&self) -> ElasticArray1024<u8>
[src]
fn rlp_bytes(&self) -> ElasticArray1024<u8>
Get rlp-encoded bytes for this instance