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 TransactionIdfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for TransactionId[src]
impl PartialEq for TransactionIdfn eq(&self, other: &TransactionId) -> bool[src]
fn eq(&self, other: &TransactionId) -> boolThis 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) -> boolThis method tests for !=.
impl Clone for TransactionId[src]
impl Clone for TransactionIdfn clone(&self) -> TransactionId[src]
fn clone(&self) -> TransactionIdReturns 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 TransactionIdfn 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 TransactionIdAuto Trait Implementations
impl Send for TransactionId
impl Send for TransactionIdimpl Sync for TransactionId
impl Sync for TransactionId