Enum common_types::ids::TransactionId [−][src]
Uniquely identifies transaction.
Variants
Hash(H256)
Transaction's sha3.
Location(BlockId, usize)
Block id and transaction index within this block. Querying by block position is always faster.
Trait Implementations
impl Debug for TransactionId
[src]
impl Debug for TransactionId
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 PartialEq for TransactionId
[src]
impl PartialEq for TransactionId
fn eq(&self, other: &TransactionId) -> bool
[src]
fn eq(&self, other: &TransactionId) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TransactionId) -> bool
[src]
fn ne(&self, other: &TransactionId) -> bool
This method tests for !=
.
impl Clone for TransactionId
[src]
impl Clone for TransactionId
fn clone(&self) -> TransactionId
[src]
fn clone(&self) -> TransactionId
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 Hash for TransactionId
[src]
impl Hash for TransactionId
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Eq for TransactionId
[src]
impl Eq for TransactionId
Auto Trait Implementations
impl Send for TransactionId
impl Send for TransactionId
impl Sync for TransactionId
impl Sync for TransactionId