pub fn unmined_tx_id(&self) -> Option<UnminedTxId> {
        match self {
            InventoryHash::Error => None,
            InventoryHash::Tx(legacy_tx_id) => Some(UnminedTxId::from_legacy_id(*legacy_tx_id)),
            InventoryHash::Block(_hash) => None,
            InventoryHash::FilteredBlock(_hash) => None,
            InventoryHash::Wtx(wtx_id) => Some(UnminedTxId::from(wtx_id)),
        }
    }
/// Returns the unmined transaction ID for this inventory hash,
/// if this inventory hash is a transaction variant.
Returns the unmined transaction ID for this inventory hash,
if this inventory hash is a transaction variant.
Returns the unmined transaction ID for this inventory hash if this inventory hash is a transaction variant .
pub fn unmined_tx_id(&self) -> Option<UnminedTxId> {
        match self {
            InventoryHash::Error => None,
            InventoryHash::Tx(legacy_tx_id) => Some(UnminedTxId::from_legacy_id(*legacy_tx_id)),
            InventoryHash::Block(_hash) => None,
            InventoryHash::FilteredBlock(_hash) => None,
            InventoryHash::Wtx(wtx_id) => Some(UnminedTxId::from(wtx_id)),
        }
    }
pub fn unmined_tx_id ( & self ) -> Option < UnminedTxId > { match self { InventoryHash :: Error => None , InventoryHash :: Tx ( legacy_tx_id ) => Some ( UnminedTxId :: from_legacy_id ( * legacy_tx_id ) ) , InventoryHash :: Block ( _hash ) => None , InventoryHash :: FilteredBlock ( _hash ) => None , InventoryHash :: Wtx ( wtx_id ) => Some ( UnminedTxId :: from ( wtx_id ) ) , } }
Returns the unmined transaction ID for this inventory hash,
if this inventory hash is a transaction variant.
Returns the unmined transaction ID for this inventory hash if this inventory hash is a transaction variant .
&self