pub struct UtxoOutpoint {
pub txid: Vec<u8>,
pub vout: u32,
}Expand description
Unique output descriptor of a Bitcoin transaction.
Fields§
§txid: Vec<u8>The ID of the transaction. Not necessarily unique on its own.
vout: u32The index of the outpoint within the transaction.
Trait Implementations§
Source§impl CandidType for UtxoOutpoint
impl CandidType for UtxoOutpoint
Source§impl Clone for UtxoOutpoint
impl Clone for UtxoOutpoint
Source§fn clone(&self) -> UtxoOutpoint
fn clone(&self) -> UtxoOutpoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UtxoOutpoint
impl Debug for UtxoOutpoint
Source§impl<'de> Deserialize<'de> for UtxoOutpoint
impl<'de> Deserialize<'de> for UtxoOutpoint
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
Auto Trait Implementations§
impl Freeze for UtxoOutpoint
impl RefUnwindSafe for UtxoOutpoint
impl Send for UtxoOutpoint
impl Sync for UtxoOutpoint
impl Unpin for UtxoOutpoint
impl UnsafeUnpin for UtxoOutpoint
impl UnwindSafe for UtxoOutpoint
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