Struct block::Transaction
[−]
[src]
pub struct Transaction {
pub nonce: U256,
pub gas_price: Gas,
pub gas_limit: Gas,
pub action: TransactionAction,
pub value: U256,
pub signature: TransactionSignature,
pub input: Vec<u8>,
}Fields
nonce: U256
gas_price: Gas
gas_limit: Gas
action: TransactionAction
value: U256
signature: TransactionSignature
input: Vec<u8>
Methods
impl Transaction[src]
fn caller(&self) -> Result<Address, Error>[src]
fn address(&self) -> Result<Address, Error>[src]
fn is_basic_valid<P: SignaturePatch, Q: ValidationPatch>(&self) -> bool[src]
Trait Implementations
impl Clone for Transaction[src]
fn clone(&self) -> Transaction[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for Transaction[src]
impl PartialEq for Transaction[src]
fn eq(&self, __arg_0: &Transaction) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Transaction) -> bool[src]
This method tests for !=.
impl Eq for Transaction[src]
impl Encodable for Transaction[src]
fn rlp_append(&self, s: &mut RlpStream)[src]
Append a value to the stream
fn rlp_bytes(&self) -> ElasticArray1024<u8>[src]
Get rlp-encoded bytes for this instance
impl Decodable for Transaction[src]
fn decode(rlp: &UntrustedRlp) -> Result<Self, DecoderError>[src]
Decode a value from RLP bytes