Struct ethcore_transaction::PendingTransaction [−][src]
pub struct PendingTransaction { pub transaction: SignedTransaction, pub condition: Option<Condition>, }
Queued transaction with additional information.
Fields
transaction: SignedTransaction
Signed transaction data.
condition: Option<Condition>
To be activated at this condition. None
for immediately.
Methods
impl PendingTransaction
[src]
impl PendingTransaction
pub fn new(signed: SignedTransaction, condition: Option<Condition>) -> Self
[src]
pub fn new(signed: SignedTransaction, condition: Option<Condition>) -> Self
Create a new pending transaction from signed transaction.
Methods from Deref<Target = SignedTransaction>
pub fn sender(&self) -> Address
[src]
pub fn sender(&self) -> Address
Returns transaction sender.
pub fn public_key(&self) -> Option<Public>
[src]
pub fn public_key(&self) -> Option<Public>
Returns a public key of the sender.
pub fn is_unsigned(&self) -> bool
[src]
pub fn is_unsigned(&self) -> bool
Checks is signature is empty.
Trait Implementations
impl Debug for PendingTransaction
[src]
impl Debug for PendingTransaction
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 PendingTransaction
[src]
impl Clone for PendingTransaction
fn clone(&self) -> PendingTransaction
[src]
fn clone(&self) -> PendingTransaction
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 PendingTransaction
[src]
impl PartialEq for PendingTransaction
fn eq(&self, other: &PendingTransaction) -> bool
[src]
fn eq(&self, other: &PendingTransaction) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PendingTransaction) -> bool
[src]
fn ne(&self, other: &PendingTransaction) -> bool
This method tests for !=
.
impl Eq for PendingTransaction
[src]
impl Eq for PendingTransaction
impl Deref for PendingTransaction
[src]
impl Deref for PendingTransaction
type Target = SignedTransaction
The resulting type after dereferencing.
fn deref(&self) -> &SignedTransaction
[src]
fn deref(&self) -> &SignedTransaction
Dereferences the value.
impl From<SignedTransaction> for PendingTransaction
[src]
impl From<SignedTransaction> for PendingTransaction
fn from(t: SignedTransaction) -> Self
[src]
fn from(t: SignedTransaction) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for PendingTransaction
impl Send for PendingTransaction
impl Sync for PendingTransaction
impl Sync for PendingTransaction