pub struct UtxoId(pub TxId, pub u32);Expand description
ID of a UTXO (Unspent Transaction Output) in the underlying ledger system (e.g. Bitcoin).
A UTXO ID is a pair of (transaction ID, index of the output).
Tuple Fields§
§0: TxId§1: u32Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UtxoId
impl<'de> Deserialize<'de> for UtxoId
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for UtxoId
impl Ord for UtxoId
Source§impl PartialOrd for UtxoId
impl PartialOrd for UtxoId
impl Eq for UtxoId
impl StructuralPartialEq for UtxoId
Auto Trait Implementations§
impl Freeze for UtxoId
impl RefUnwindSafe for UtxoId
impl Send for UtxoId
impl Sync for UtxoId
impl Unpin for UtxoId
impl UnwindSafe for UtxoId
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