pub enum LegacyTransactionTo {
Create,
Call(Address),
}Expand description
Legacy transaction call/create target.
Variants§
Create
Contract creation transaction with an empty to field.
Call(Address)
Message call to an address.
Trait Implementations§
Source§impl Clone for LegacyTransactionTo
impl Clone for LegacyTransactionTo
Source§fn clone(&self) -> LegacyTransactionTo
fn clone(&self) -> LegacyTransactionTo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LegacyTransactionTo
Source§impl Debug for LegacyTransactionTo
impl Debug for LegacyTransactionTo
impl Eq for LegacyTransactionTo
Source§impl PartialEq for LegacyTransactionTo
impl PartialEq for LegacyTransactionTo
Source§fn eq(&self, other: &LegacyTransactionTo) -> bool
fn eq(&self, other: &LegacyTransactionTo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LegacyTransactionTo
Auto Trait Implementations§
impl Freeze for LegacyTransactionTo
impl RefUnwindSafe for LegacyTransactionTo
impl Send for LegacyTransactionTo
impl Sync for LegacyTransactionTo
impl Unpin for LegacyTransactionTo
impl UnsafeUnpin for LegacyTransactionTo
impl UnwindSafe for LegacyTransactionTo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more